Logout a customer

Logout a customer.

SecuritySecretApiKey or JWT or PublishableApiKey
Request
path Parameters
token
required
string

The token identifier string.

Responses
204

Customer was logged out.

401

Unauthorized access, invalid credentials were used.

404

Resource was not found.

delete/authentication-tokens/{token}
Request samples
$client->authenticationTokens()->logout('token');
Response samples
application/json
{
  • "status": 401,
  • "title": "string",
  • "detail": "string",
  • "instance": "string"
}