Skip to main content
DELETE
/
customer
/
logout
Logout Customer
curl --request DELETE \
  --url https://api.craveup.com/api/v1/customer/logout \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Storefront customer session JWT acquired from the login + OTP flow.

Response

Customer logged out successfully.

success
boolean
required
Example:

true

I