MARS documentation
API reference

Logout

Contract and client context

Operation: logout · HTTP: POST /v1/auth/logout

Use an operator-supplied registry base URL. Request execution is disabled in this documentation explorer. Generated request snippets are templates, not signed or authorized submissions.

Exact operation definition
{
  "operationId": "logout",
  "responses": {
    "204": {
      "description": "Session revoked idempotently"
    }
  },
  "security": [
    {
      "siwsSession": []
    },
    {
      "siwsCookie": []
    }
  ],
  "tags": [
    "auth"
  ]
}

Resolve schema references against the complete OpenAPI document. Standalone schemas and hashes are generated from the same checked-in source.

POST/v1/auth/logout

Authorization

AuthorizationBearer <token>

Opaque capability-bearing MARS session issued by an enabled authentication profile.

In: header

Response Body

curl -X POST "https://example.com/v1/auth/logout"
Empty