Skip to Content
Docs

Revoke one of the caller's tokens

DELETE
/api/user/tokens/{token_id}

Takes effect on the next request.

Not available to personal access tokens; call it from a signed-in session.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Path Parameters

token_id*string

Response Body

Success

Example Request
curl -X DELETE 'http://localhost:7091/api/user/tokens/string'
Example Response200
Empty