---
title: "Log out the current end-customer session"
method: POST
path: "/v1/customer-identity/logout"
tags: ["Customer sign-in"]
---

# Log out the current end-customer session

`POST /v1/customer-identity/logout`

## Request

- Base URL: `https://hyperscale0.ai`
- URL: `https://hyperscale0.ai/v1/customer-identity/logout`
- Auth: HTTP bearer

Revokes the session that made this request. The session names itself: there is no id in the body, so a customer can only ever end their own sign-in. Once revoked the token can no longer authenticate.

## Headers

- `X-Hyperscale-Environment` 'sandbox' | 'live'
- `Idempotency-Key` string, required

## Response `200`

Success

- CustomerLogoutOutput
  - `customerSessionId` string, required: Hyperscale end-customer session ID
  - `status` 'revoked', required
  - `revokedAt` string, date-time, required

## Other responses

- `default`: ErrorResponse. See x-error-codes and x-errors for codes, HTTP statuses and retry guidance.

---

[API](https://skmtc.dev/hyperscale0/apis/hyperscale-product-api.md) · [All operations](https://skmtc.dev/hyperscale0/apis/hyperscale-product-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hyperscale0/apis/hyperscale-product-api/revisions/e9e8faa044d5?raw)
