Skip to main content
Anchor to CustomerAccessTokenDeletePayload

CustomerAccessTokenDeletePayload

payload

Return type for customerAccessTokenDelete mutation.

•String

The destroyed access token.

Anchor to deletedCustomerAccessTokenIddeletedCustomerAccessTokenId
•String

ID of the destroyed customer access token.

•[UserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Permanently destroys a CustomerAccessToken. Use this mutation when a customer explicitly signs out or when you need to revoke the token. Use 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

•String!
required

The access token used to identify the customer.



Was this section helpful?