Toggle Linked Discord Token
PUT
/api/v1/discord/token/{id}The API only works for user with DIY plan, and have linked their Discord account.
The API will return the updated token details.
Request
The token ID from the /tokens endpoint, for the specific Discord account.
true to activate the token, and false to disable the token.
{
"isActive": true
}
Request samples
Responses
The linked Discord token id in our system.
The linked Discord token.
The linked Discord channel id.
The linked Discord server id.
The token is active or not.
The status of the token, can be FAST or RELAX or VERIFYING.
The linked Discord account details.
Number of running jobs in Midjourney.
Number of images generated in the relax mode.
The Midjourney plan name with the Discord account.
Number of images generated in lifetime.
Number of queued jobs in the fast mode.
If the image generated public visiable or not.
Number of queued jobs in the relax mode.
The number of GPU minutes left in the fast mode generation.
The concurrent limiting for the token.
[
{
"id": 198,
"token": "MTE2OTc1Nzg5NjEwNDQ4NDkxOA.GRXmdc.YD02mkT1NkOGeDTJa8CT98m5QaC41EERSDFAS",
"channelId": "1169758569336333381",
"serverId": "1169758569336478123",
"isActive": true,
"status": "FAST",
"info": {
"jobMode": "",
"runningJobs": "None",
"relaxedUsage": "0 images",
"subscription": "Basic (Active monthly, renews next on <t:1709417882>)",
"lifetimeUsage": "674 images",
"queuedJobsFast": "0",
"visibilityMode": "Public",
"queuedJobsRelax": "0",
"fastTimeRemaining": "199.00/200.0 minutes (99.50%)"
},
"concurrency": 2
}
]