Burn User Token
Burns a specific token owned by a user, removing it from circulation.
Request
POST /v2/admin/token/users/{token_id}/users/{user_id}/burn
Parameters
| Name | Type | In | Description |
|---|---|---|---|
token_id | string | path | Required. The ID of the token to burn |
user_id | string | path | Required. The ID of the user who owns the token |
Headers
| Name | Description |
|---|---|
Authorization | Required. Bearer token for authentication |
Content-Type | Required. Must be application/json |
Example
curl --location --request POST '\{\{baseUrl\}\}/v2/admin/token/users/68aeb272d9336c619ce249f6/users/680c02896d91ca0145cfeb81/burn' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'
Response
A successful response returns no content (HTTP 200 with empty body).
Status Codes
| Status Code | Description |
|---|---|
| 200 | Success - Token has been burned successfully |
| 400 | Bad Request - Invalid request parameters |
| 401 | Unauthorized - Invalid or missing authentication token |
| 404 | Not Found - Token ID or User ID does not exist |
| 500 | Internal Server Error |