customerAccessTokenDelete mutation

Permanently destroys a customer access token.

Required access

unauthenticated_write_customers access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
customerAccessToken ( String! ) required

The access token used to identify the customer.

Return fields

  • deletedAccessToken (String)

    The destroyed access token.

  • deletedCustomerAccessTokenId (String)

    ID of the destroyed customer access token.

  • userErrors ([UserError!]!)

    List of errors that occurred from executing the mutation.

Permanently destroys a customer access token.

Required access

unauthenticated_write_customers access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
customerAccessToken ( String! ) required

The access token used to identify the customer.

Return fields

  • deletedAccessToken (String)

    The destroyed access token.