cURL
curl --request DELETE \ --url {schemes}://api.upsun.com/users/{user_id}/api-tokens/{token_id} \ --header 'Authorization: Bearer <token>'
{ "error": "<string>" }
Deletes an API token
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the user.
"d81c8ee2-44b3-429f-b944-a33ad7437690"
The ID of the token.
No Content
Was this page helpful?