Skip to main content
DELETE
/
users
/
{user_id}
/
api-tokens
/
{token_id}
Delete an API token
curl --request DELETE \
  --url {schemes}://api.upsun.com/users/{user_id}/api-tokens/{token_id} \
  --header 'Authorization: Bearer <token>'
{
  "status": "<string>",
  "message": "<string>",
  "code": 123,
  "detail": {},
  "title": "<string>"
}

Authorizations

Authorization
string
header
required

Path Parameters

user_id
string<uuid>
required

The ID of the user.

Example:

"d81c8ee2-44b3-429f-b944-a33ad7437690"

token_id
string<uuid>
required

The ID of the token.

Response

No Content