---
title: "customerAccessTokenDelete"
description: "永久销毁客户访问令牌"
doc_type: graphql
doc_category: storefront
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/customers/mutations/customer-access-token-delete'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/storefront-api/customers/mutations/customer-access-token-delete.md'
---
# customerAccessTokenDelete

永久销毁客户访问令牌

- **API Version:** v20270301
- **API Type:** Storefront
- **API Protocol:** GraphQL
- **Operation Type:** Mutation

## Type Signature

`CustomerAccessTokenDeletePayload`

## Arguments

* `customerAccessToken`

  [String](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common/scalars/string.md)

  客户访问令牌

## Returns

* `customerUserErrors`

  [[CustomerUserError!]!](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/customers/objects/customer-user-error.md)

  错误信息

* `deletedAccessToken`

  [String](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common/scalars/string.md)

  删除的客户访问令牌

* `deletedCustomerAccessTokenId`

  [String](https://developer.shopline.com/zh-hans-cn/docs/storefront-api/common/scalars/string.md)

  删除的客户访问令牌Id

## Code Example

```graphql
mutation customerAccessTokenDelete($customerAccessToken: String ) {
	customerAccessTokenDelete(customerAccessToken: $customerAccessToken ) 
		 {
			# CustomerAccessTokenDeletePayload fields
		}
		
	}

```

## Variables

```json
{
  "customerAccessToken": {}
}
```

## Error Handling

关于更多通用错误码说明，参考：[状态码和错误码](https://developer.shopline.com/zh-hans-cn/docs/apps/api-instructions-for-use/storefront-api/overview.md#status-and-error-codes)。

