# customerAccessTokenDelete Deletes a customer access token, effectively logging out the customer from the storefront. ## 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/v1/objects/customer-access-token-delete-payload) - Payload returned by the customerAccessTokenDelete mutation containing the deleted token and any errors that occurred during the operation. ## Example ```graphql mutation { customerAccessTokenDelete(customerAccessToken: "eyJhbGciOiJIUzI1NiJ9...") { deletedAccessToken customerUserErrors { code field message } } } ``` ## Related Types - [CustomerAccessTokenDeletePayload](/reference/storefront/v1/objects/customer-access-token-delete-payload) - String