Skip to main content
Revoke every unexpired token for this project and return the count. Tokens covering other projects are revoked in full. Requires an API key or signed-in user.

Signature

Method signature on client.projects:

Parameters

string
required
Project ID with prefix pp..

Returns

Promise<RevokedScopedTokens>
number
required
How many live tokens were revoked.

Errors

HTTP errors throw PotatoApiError. The endpoint documents these error responses: HTTP endpoint: DELETE /projects/{projectId}/tokens.