EZCart Docs
ApiV1StoreAuthLogout

Logout: revoke the current session or all sessions

Logout: revoke the current session or all sessions. If refreshToken is provided, only that session is revoked. Otherwise, all sessions for the customer are revoked.

POST
/v1/store/auth/logout

Request Body

application/json

refreshToken?string

Response Body

application/json

curl -X POST "https://api-pub.ezcart.io/v1/store/auth/logout" \  -H "Content-Type: application/json" \  -d '{}'
{
  "success": true
}