Gamma API
AccountSessions

Revoke another of my sessions

DELETE
/api/account/sessions/{id}

Signs out another of the caller's sessions at once. The current one is refused with 400: signing out ends it.

Who may call it: Any signed-in user, for their own account. API keys: no.

Authorization

session
cookiegamma.session_token<token>

The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.

Path Parameters

id*string

Response Body

Done; no content.

Example Request
curl -X DELETE 'http://localhost:3000/api/account/sessions/string'
Example Response
Empty