Projects
Revoke a project-scoped token
Revoke the specified token and return 204. It stops working immediately. Requires an API key or signed-in user.
DELETE
TypeScript SDK
Authorizations
Enter ApiKey <your-api-key> in Authorization, including the ApiKey prefix. In cURL and Python samples, <api-key> means this full value. The TypeScript SDK adds the prefix for you.
Path Parameters
Project ID with prefix pp..
Pattern:
^pp\.[0-9a-f]{8}-[0-9a-f]{4}-[7][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$ID of the scoped token, with prefix pst..
Pattern:
^pst\.[0-9a-f]{8}-[0-9a-f]{4}-[7][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$Body
application/json
The body is of type object.
Response
Token revoked