Skip to Content
ReferenceStorefrontv1.0.0 API ReferenceObjectsCustomerAccessTokenDeletePayload

CustomerAccessTokenDeletePayload

Payload returned by the customerAccessTokenDelete mutation. This type contains the result of attempting to delete a customer access token, including any errors that occurred during the operation.

Type Definition

type CustomerAccessTokenDeletePayload { deletedAccessToken: String customerUserErrors: [CustomerUserError]! }

Fields

FieldTypeDescription
deletedAccessTokenStringThe deleted access token
customerUserErrors[CustomerUserError]!List of errors that occurred during the operation

Relationships

This type is returned by the customerAccessTokenDelete mutation. It contains a list of CustomerUserError objects that describe any validation or operation errors that occurred while attempting to delete the customer access token.

Example

mutation { customerAccessTokenDelete(customerAccessToken: "eyJhbGciOiJIUzI1NiJ9...") { deletedAccessToken customerUserErrors { code field message } } }

Implements

This type does not implement any interfaces.