Queue Reboot
POST
https://api.imaginepro.ai/api/v1/discord/queue/reboot/{id}
The API only works for user with DIY or Dedicated plan, and linked their Discord account (opens in a new tab).
The API will reboot our system queue that assigned to the connected Discord account.
GET /api/v1/discord/queue/reboot/{id}
Request Param
Name | Location | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | the token id of the specified Discord account |
id
The Discord token id
can grab from this API.
Response data
You get no response body but a 200 status code if successful.
Examples
const axios = require("axios")
const config = {
method: "post",
url: "https://api.imaginepro.ai/api/v1/discord/queue/reboot/128",
headers: {
"Content-Type": "application/json",
Authorization: "Bearer <your-token>",
},
}
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data))
})
.catch(function (error) {
console.log(error)
})