Skip to content
GitHub

Revoke one of the caller's tokens (immediately effective).

DELETE
/api/v1/tokens/{token}
curl --request DELETE \
--url https://example.com/api/v1/tokens/example
token
required
string

Token id

Revoked

Media typeapplication/json

Problem Details body.

object
code
required

Stable machine-readable code, e.g. forbidden.

string
title
required

Short human readable title.

string
status
required

HTTP status.

integer format: int32
detail

Details, if safe to expose.

string | null
Example
{
"code": "forbidden"
}