Tokens

Revoke an API token

Changed on

Revokes a token. It stops working immediately.

delete/servers/{guild_id}/auth

Request

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 the path request parameter guild_id

    • info

      api operation id revokeToken was added

    • info

      api tag Tokens added

    • info

      api tag Auth removed

    • info

      added the new optional query request parameter bot

    • info

      added the media type application/json for 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

    • info

      endpoint added