Delete User Token
Transfers the specified token back to the token owner for a specific user.
Request
DELETE /v2/users/users/{id}/tokens/{tokenID}
Parameters
| Name | Type | In | Description |
|---|---|---|---|
id | string | path | Required. The ID of the user |
tokenID | string | path | Required. The ID of the token to transfer back to the owner |
Headers
| Name | Description |
|---|---|
Authorization | Required. Bearer token for authentication |
Example
curl --request DELETE \
--url '{{baseUrl}}/v2/users/users/680c02896d91ca0145cfeb81/tokens/67d8774e903bfcbe7eb5d93e' \
--header 'Authorization: Bearer {{token}}'
Response
A successful response returns no content:
Status Code: 204 No Content
Response Body: No content
Status Codes
| Status Code | Description |
|---|---|
| 204 | Success - Token transferred back to owner successfully |
| 401 | Unauthorized - Invalid or missing authentication token |
| 404 | Not Found - User ID or Token ID does not exist |
| 500 | Internal Server Error |