Method: recall.resetPersona
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
删除将指定角色与任何玩家(无论是否有玩家资料)相关联的所有 Recall 令牌。
HTTP 请求
POST https://games.googleapis.com/games/v1/recall:resetPersona
请求正文
请求正文将包含采用如下结构的数据:
JSON 表示法 |
{
"persona": string
} |
字段 |
persona |
string
“persona”字段的值,由客户端在 recall.linkPersona RPC 中提供
|
响应正文
recall.resetPersona RPC 的响应
如果成功,响应正文将包含结构如下的数据:
JSON 表示法 |
{
"unlinked": boolean
} |
字段 |
unlinked |
boolean
必需。是否因此请求而解除关联了任何令牌。
|
授权范围
需要以下 OAuth 范围:
https://www.googleapis.com/auth/androidpublisher
如需了解详情,请参阅 OAuth 2.0 概览。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Method: recall.resetPersona\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ResetPersonaResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDelete all Recall tokens linking the given persona to any player (with or without a profile).\n\n### HTTP request\n\n`POST https://games.googleapis.com/games/v1/recall:resetPersona`\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|-------------------------------|\n| ``` { \"persona\": string } ``` |\n\n| Fields ||\n|-----------|--------------------------------------------------------------------------------------------------|\n| `persona` | `string` Value of the 'persona' field as it was provided by the client in recall.linkPersona RPC |\n\n### Response body\n\nResponse for the recall.resetPersona RPC\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------|\n| ``` { \"unlinked\": boolean } ``` |\n\n| Fields ||\n|------------|-----------------------------------------------------------------------------------|\n| `unlinked` | `boolean` Required. Whether any tokens were unlinked as a result of this request. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]