Revoke a session
DELETE
Ends one of the caller's own sessions at once, such as a CLI login on a lost laptop. Requests with its token then fail with 401 unauthenticated.
Revoking the session that makes this request (current: true) signs the caller out, like Sign out. Other sessions are not affected.
It needs a sign-in session; API keys are refused. A caller can revoke only their own sessions.
sessionheader
AuthorizationBearer <token>A sign-in session token (jvs_…) from the Dashboard, cubicle login or the device authorization flow.
session*stringThe session's ID, a UUID, from List your sessions.
Format
uuidThe session is revoked.
curl -X DELETE 'https://api.cubicle.sh/v1/sessions/7f9b1d3f-5a7c-4e9b-b1d3-3f5a7c9e1b4d'Example Response
Empty

