Skip to content

Revoke a token

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

Revoked

Cannot revoke another user's session token

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}