Anchor to section titled 'undefined'

customerAccessTokenDelete
mutation

Requires unauthenticated_write_customers access scope.

Permanently destroys a customer access token.


Anchor to customerAccessToken
customerAccessToken
required

The access token used to identify the customer.


Was this section helpful?

The destroyed access token.

ID of the destroyed customer access token.

The list of errors that occurred from executing the mutation.


Was this section helpful?
Hide code
Mutation reference
Copy
mutation customerAccessTokenDelete($customerAccessToken: String!) {
  customerAccessTokenDelete(customerAccessToken: $customerAccessToken) {
    deletedAccessToken
    deletedCustomerAccessTokenId
    userErrors {
      field
      message
    }
  }
}
Hide code
Input
Copy
{
  "customerAccessToken": "<your-customerAccessToken>"
}