API Tokens

Revoke API token

Changed on

Permanently revokes an API token. Users can only revoke their own tokens. Requires admin role.

delete/api/api-tokens/{id}

Request

  • Base URL
    https://localhost:1852
  • URL
    https://localhost:1852/api/api-tokens/{id}
  • Auth
    HTTP bearer

Path parameters

idinteger required

Numeric resource ID.

Response

Token revoked.

successboolean required

Example response

{
  "success": true
}

Changes

    • info

      removed the ADMIRAL_REQUIRED enum value from the response property for the response status

    • info

      removed the ADMIRAL_REQUIRED enum value from the response property for the response status

    • info

      removed the ADMIRAL_REQUIRED enum value from the response property for the response status

    • info

      removed the ADMIRAL_REQUIRED enum value from the response property for the response status

    • warning

      added the new PAID_REQUIRED enum value to the response property for the response status

    • warning

      added the new PAID_REQUIRED enum value to the response property for the response status

    • warning

      added the new PAID_REQUIRED enum value to the response property for the response status

    • warning

      added the new PAID_REQUIRED enum value to the response property for the response status

    • info

      removed the PRO_REQUIRED enum value from the response property for the response status

    • info

      removed the PRO_REQUIRED enum value from the response property for the response status

    • info

      removed the PRO_REQUIRED enum value from the response property for the response status

    • info

      removed the PRO_REQUIRED enum value from the response property for the response status