Logout a customer

Logs out a customer.

SecurityAPI Key: SecretApiKey or HTTP: JWT or API Key: PublishableApiKey
Request
path Parameters
token
required
string

ID of the authentication token.

delete
/authentication-tokens/{token}
Request samples
$client->authenticationTokens()->logout('token');
Responses

204

Customer logged out.

401

Unauthorized access. Invalid credentials used.

404

Resource not found.

Response samples
application/json
{ "status": 401, "type": "http://example.com", "title": "string", "detail": "string", "instance": "string" }