# customerAccessTokenDelete Deletes a customer access token, effectively logging out the customer. ## Authentication > **Authentication Required**: Secret API key with scope `customer:auth` ## Mutation Structure ```graphql mutation { customerAccessTokenDelete(customerAccessToken: String!) { deletedAccessToken customerUserErrors { code field message } } } ``` ## Input Arguments | Argument | Type | Required | Description | |----------|------|----------|-------------| | customerAccessToken | String | Yes | The customer access token to delete | ## Return Type [CustomerAccessTokenDeletePayload](/reference/storefront/1.3.0/objects/customer-access-token-delete-payload) - The payload returned after deleting a customer access token, containing the deleted token string and any errors that occurred during the operation. ## Example ```graphql mutation { customerAccessTokenDelete(customerAccessToken: "eyJhbGciOiJIUzI1NiJ9.eyJkYXRhIjoiY3VzdG9tZXJfYWNjZXNzX3Rva2VuXzEyMzQ1Njc4OTAifQ.signature") { deletedAccessToken customerUserErrors { code field message } } } ``` ## Related Types - [CustomerAccessTokenDeletePayload](/reference/storefront/1.3.0/objects/customer-access-token-delete-payload)