删除店面访问令牌-storefrontAccessTokenDelete mutation
删除店面访问令牌。
在本页面
互动范例
这是一个示例查询。
mutation storefrontAccessTokenCreate($input: StorefrontAccessTokenInput!) { storefrontAccessTokenCreate(input: $input) {} }
<font style="color:#1F61A0;">shop</font> <font style="color:#555555;">{</font><font style="color:#1F61A0;">id</font><font style="color:#555555;">}</font><font style="color:#1F61A0;">storefrontAccessToken</font> <font style="color:#555555;">{</font><font style="color:#1F61A0;">id</font><font style="color:#555555;">}</font><font style="color:#1F61A0;">userErrors</font> <font style="color:#555555;">{</font><font style="color:#1F61A0;">field</font><font style="color:#1F61A0;">message</font><font style="color:#555555;">}</font>
变量:
{ “input”: {} }
<font style="color:#8B2BB9;">"title"</font><font style="color:#555555;">:</font> <font style="color:#D64292;">"placeholder"</font>
参数
| 参数 | 描述 | 
|---|---|
input( [StorefrontAccessTokenDeleteInput!](https://shopify.dev/docs/admin-api/graphql/reference/access/storefrontaccesstokendeleteinput))必需的  | 
提供删除店面访问令牌所需的输入字段。 | 
StorefrontAccessTokenDeleteInput字段
- id (
[ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01)) 必需的
要删除的店面访问令牌的标识。 
返回字段
- DeletedStorefrontAccessTokenId(
[ID](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01))
删除的店面访问令牌的ID。 - userErrors(
[[UserError!]!](https://shopify.dev/docs/admin-api/graphql/reference/usererror))
执行mutation时发生的错误列表。 
