Skip to content

Delete API token

DELETE
/tokens/{id}
curl --request DELETE \
--url https://api.muninx.com/tokens/example \
--header 'Authorization: Bearer <token>'

Deletes one of the current authenticated user’s API tokens.

id
required
string

API token ID.

OK

Media type application/json
string
Example
Token deleted

RFC 9457 problem details

Media type application/problem+json

RFC 9457 problem details.

object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
key
additional properties
any
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "https://example.com"
}

RFC 9457 problem details

Media type application/problem+json

RFC 9457 problem details.

object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
key
additional properties
any
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "https://example.com"
}

RFC 9457 problem details

Media type application/problem+json

RFC 9457 problem details.

object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
key
additional properties
any
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "https://example.com"
}

RFC 9457 problem details

Media type application/problem+json

RFC 9457 problem details.

object
type
string format: uri
title
string
status
integer format: int32
detail
string
instance
string format: uri
key
additional properties
any
Example generated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"instance": "https://example.com"
}