Revoke session
Permanently deletes the session, terminating it immediately. This is the operator revoke path and requires the `session.delete` scope on a project-bound credential. End-user logout with the `__nextgen_session` cookie is `DELETE /sessions/me` (`nextgenSession` scheme). Idempotent: deleting a session that does not exist (or was already deleted) still returns 204. After deletion, any tokens derived from the session are invalidated.
Permanently deletes the session, terminating it immediately.
This is the operator revoke path and requires the session.delete scope on a
project-bound credential. End-user logout with the __nextgen_session cookie is
DELETE /sessions/me (nextgenSession scheme).
Idempotent: deleting a session that does not exist (or was already deleted) still returns 204. After deletion, any tokens derived from the session are invalidated.
Authorization
oauth2 session.deleteIn: header
Scope: session.delete
Path Parameters
The unique identifier of the session.
Response Body
application/json
application/json
application/json
curl -X DELETE "https://example.com/sessions/sess_01J0Z9KX7Y0Q2Y7JX5M9K2YF3C"{ "code": "string", "message": "string", "details": {}}{ "code": "string", "message": "string", "details": {}}{ "code": "auth.unauthorized", "message": "The request lacks valid authentication credentials."}Revoke my session DELETE
Logs out by permanently deleting the session. The `__nextgen_session` cookie issued at creation (or superseded by a handoff exchange) is required. Idempotent: if the session is already gone this still returns 204. Any tokens derived from the session are invalidated, and the cookie itself is cleared in the response.
Flow Definitions
OpenAPI operations for flow definition templates.