Documentation
Pause

Queue Pause

POST
https://api.mymidjourney.ai/api/v1/discord/queue/pause/{id}

The API only works for user with Pro or Dedicated plan, and linked their Discord account (opens in a new tab).

The API will pause our system queue that assigned to the connected Discord account.

GET /api/v1/discord/queue/reboot/{id}

Request Param

NameLocationTypeRequiredDescription
idpathstringtruethe 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.mymidjourney.ai/api/v1/discord/queue/pause/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)
  })