Tokens
Revoke an API token
Changed onRevokes a token. It stops working immediately.
delete/servers/{guild_id}/auth
Request
- Base URLhttps://quark.bot/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
guild_idstring required
Example:301655085954367490
The server's ID. Must be the server the token was created for.
Query parameters
tokenIdstring required
The token's unique_id, from the token list.
bot'pro'
Set to pro to act on the Quark Pro bot's configuration. Leave out for the main Quark bot.
Response
Revoked.
object required
An empty object.
Example response
{}Changes
- breaking
added the pattern
^\d{17,20}$to thepathrequest parameterguild_id - info
api operation id
revokeTokenwas added - info
api tag
Tokensadded - info
api tag
Authremoved - info
added the new optional
queryrequest parameterbot - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking
- info
endpoint added
- info