Skip to main content
Revoke the token sent in X-Scoped-Token and return 204. Returns 403 if the request uses another authentication method.

Signature

Method signature on client.projects:

Parameters

This method takes no arguments.

Returns

Promise<void> Resolves without a return value.

Errors

HTTP errors throw PotatoApiError. The endpoint documents these error responses: HTTP endpoint: DELETE /tokens/current.