---
title: customerAccessTokenDelete - Storefront API
description: >-
  Permanently destroys a
  [`CustomerAccessToken`](/docs/api/storefront/2026-10/objects/CustomerAccessToken).

  Use this mutation when a customer explicitly signs out or when you need to

  revoke the token. Use
  [`customerAccessTokenCreate`](/docs/api/storefront/2026-10/mutations/customerAccessTokenCreate)

  to generate a new token with the customer's credentials.


  > Caution:

  > This action is irreversible. The customer needs to sign in again to obtain a
  new access token.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/storefront/latest/mutations/customerAccessTokenDelete
  md: >-
    https://shopify.dev/docs/api/storefront/latest/mutations/customerAccessTokenDelete.md
api_name: storefront
api_type: graphql
type: mutation
---

# customer​Access​Token​Delete

mutation

Requires `unauthenticated_write_customers` access scope.

Permanently destroys a [`CustomerAccessToken`](https://shopify.dev/docs/api/storefront/2026-10/objects/CustomerAccessToken). Use this mutation when a customer explicitly signs out or when you need to revoke the token. Use [`customerAccessTokenCreate`](https://shopify.dev/docs/api/storefront/2026-10/mutations/customerAccessTokenCreate) to generate a new token with the customer's credentials.

***

**Caution:** This action is irreversible. The customer needs to sign in again to obtain a new access token.

***

## Arguments

* customer​Access​Token

  [String!](https://shopify.dev/docs/api/storefront/latest/scalars/String)

  required

  The access token used to identify the customer.

***

## Customer​Access​Token​Delete​Payload returns

* deleted​Access​Token

  [String](https://shopify.dev/docs/api/storefront/latest/scalars/String)

  The destroyed access token.

* deleted​Customer​Access​Token​Id

  [String](https://shopify.dev/docs/api/storefront/latest/scalars/String)

  ID of the destroyed customer access token.

* user​Errors

  [\[User​Error!\]!](https://shopify.dev/docs/api/storefront/latest/objects/UserError)

  non-null

  The list of errors that occurred from executing the mutation.

***

## Examples

* ### customerAccessTokenDelete reference
