Logout a customer

Logs out a customer.

SecuritySecretApiKey or JWT or PublishableApiKey
Request
path Parameters
token
required
string

ID of the authentication token.

Responses
204

Customer logged out.

401

Unauthorized access. Invalid credentials used.

404

Resource not found.

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