Skip to main content

Revoke supplied session credentials and expire a supplied browser cookie

DELETE 

/api/v1/session

Logout is idempotent. A cookie, ordinary bearer session, both, or neither may be supplied; any supplied recognized session credentials are revoked. Personal access tokens cannot use this credential-management route. Browser requests are subject to same-origin checks.

Responses​

Supplied credentials are revoked or were already absent

Response Headers
    Cache-Control

    Always no-store

    Set-Cookie

    Cookie-expiration header when a browser cookie was supplied

    X-Request-Id

    Opaque request correlation identifier. ProblemDetails.requestId carries the same value on JSON failures.