Manual
CLI
API
Log in Get started free

End a session

Ends one of your sessions. Its token stops working.

Ends one of your sessions. Its token stops working.

HTTP
DELETE /account/sessions/{sessionId}

Access: Session token only. API keys get 403 with insufficient_scope.

Path parameters #

ParameterDescription
sessionIdThe id of the session, from the session list.

Response 204 #

The session is ended, or did not exist. There is no body.

Errors #

StatuserrorWhen
401unauthenticatedThe token is missing or not valid.
404not_foundsessionId is not a UUID.
429rate_limitedToo many requests, see Rate limiting.

See Errors for the error format.