Requires
unauthenticated_write_customers
access scope.
Permanently destroys a customer access token.
Arguments
The access token used to identify the customer.
Was this section helpful?
CustomerAccessTokenDeletePayload returns
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>"
}