Skip to content

Revoke a session

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

Revoke a session by its id. Only the current session is ever visible via GET /sessions, so this revokes the caller’s own token when the id matches, and 404s otherwise.

Authorizations

Parameters

Path Parameters

session_id
required
string

Responses

204

Successful Response

422

Validation Error

object
detail
Array<object>
object
ctx
object
input
loc
required
Array
msg
required
string
type
required
string