Cubicle

Sign out

POST
/v1/auth/logout

Revokes the session whose token made the request. Later requests with that token fail with 401 unauthenticated. The person's other sessions stay signed in; end them with Revoke a session.

It needs a sign-in session; API keys are refused. To stop an API key, revoke it.

Authorization

session
headerAuthorizationBearer <token>

A sign-in session token (jvs_…) from the Dashboard, cubicle login or the device authorization flow.

Response Body

The session is revoked.

Example Request
curl -X POST 'https://api.cubicle.sh/v1/auth/logout'
Example Response
Empty