Anchor to section titled 'undefined'

delegateAccessTokenDestroy
mutation

Destroys a delegate access token.


Anchor to accessToken
accessToken
required

Provides the delegate access token to destroy.


Was this section helpful?

The user's shop.

The status of the delegate access token destroy operation. Returns true if successful.

The list of errors that occurred from executing the mutation.


Was this section helpful?
Hide code
Mutation reference
Copy
mutation delegateAccessTokenDestroy($accessToken: String!) {
  delegateAccessTokenDestroy(accessToken: $accessToken) {
    shop {
      # Shop fields
    }
    status
    userErrors {
      field
      message
    }
  }
}
Hide code
Input
Copy
{
  "accessToken": "<your-accessToken>"
}