Skip to content
Guides
CustomersCustomer

Delete customer session

DELETE/v1/customer/sessions/current

Delete customer session. A successful request returns HTTP 204 without a response body.

Header Parameters

x-Store-Domain*string

Store slug or configured domain that selects the store context at the central Storefront gateway.

Length1 <= length <= 253

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X DELETE "https://example.com/v1/customer/sessions/current" \  -H "x-Store-Domain: my-store"
Empty