---
title: "Logoutcustomer"
method: POST
path: "/v2/giftcards/customers/logout"
tags: ["Gift Card Customers"]
---

# Logoutcustomer

`POST /v2/giftcards/customers/logout`

### Logout Customer

Invalidate a customer's session token in Redis.

**Request Body**:
- `sessionToken`: The session token to invalidate

**Status Codes**:
- 200: Session invalidated (or already expired)

## Headers

- `X-Eposn-Customer-Token` string, nullable

## Request body

- LogoutRequest — Request to logout (invalidate a session).
  - `sessionToken` string, required — Session token to invalidate

## Response `200`

Successful Response

- LogoutResponse
  - `success` boolean, required
  - `message` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/loyalty/apis/loyaltydog.md) · [All operations](https://skmtc.net/loyalty/apis/loyaltydog/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/loyalty/loyaltydog/revisions/42b7b22af2b6/schema)
