Skip to content
VoxaDocs
Navigation
Open console →

Account and sign-in

Revoke a session

DELETE/api/v1/account/sessions/{session_id}

Needs a signed-in user session (Authorization: Bearer <token> from Sign in); API keys get 403.

Authorization

A signed-in user’s session token (Authorization: Bearer). API keys are refused.

Authorization: Bearer

Path parameters

session_idstringrequired

The session's id.

Query parameters

timezonestringdefault: "Asia/Kolkata"

IANA time zone for every timestamp in the response (at, date, timestamp and *_at fields), as ISO 8601 with the offset. The X-Timezone header works too; the zone used comes back in the X-Timezone response header. An unknown zone is a 400.

Response

204Done; no body.

No body.

401No credentials, or they are invalid or revoked.
detailstring

What went wrong, in plain words.

403Your role (or an API key) lacks the permission.
detailstring

What went wrong, in plain words.

422Validation Error
detailobject[]
Show item attributes
locstring | integer[]
msgstring
typestring
Esc