Method: recall.unlinkPersona
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Удалите токен отзыва, связывающий участника PGS Player, идентифицированного сеансом отзыва, и внутриигровую учетную запись, идентифицируемую либо по «персонажу», либо по значению токена.
HTTP-запрос
POST https://games.googleapis.com/games/v1/recall:unlinkPersona
Тело запроса
Тело запроса содержит данные следующей структуры:
JSON-представление |
---|
{
"sessionId": string,
// Union field target can be only one of the following:
"token": string,
"persona": string
// End of list of possible types for union field target .
} |
Поля |
---|
sessionId | string Необходимый. Непрозрачная строка, сгенерированная сервером, которая кодирует всю необходимую информацию для идентификации проигрывателя PGS/пользователя и приложения Google. |
target Союза. Идентификатор целевой внутриигровой учетной записи, подлежащей target может быть только одним из следующих: |
token | string Значение токена отзыва, предоставленное клиентом в Recall.linkPersona RPC. |
persona | string Значение поля «persona», предоставленное клиентом в RPC Recall.linkPersona. |
Тело ответа
Ответ на RPC Recall.unlinkPersona
В случае успеха тело ответа содержит данные следующей структуры:
JSON-представление |
---|
{
"unlinked": boolean
} |
Поля |
---|
unlinked | boolean Необходимый. Был ли удален токен отзыва, указанный в запросе. Может быть «ложным», если не было маркеров отзыва, удовлетворяющих критериям запроса. |
Области авторизации
Требуется следующая область действия OAuth:
-
https://www.googleapis.com/auth/androidpublisher
Дополнительную информацию см. в обзоре OAuth 2.0 .
Контент и образцы кода на этой странице предоставлены по лицензиям. Java и OpenJDK – это зарегистрированные товарные знаки корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-29 UTC.
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2025-07-29 UTC."],[],[],null,["# Method: recall.unlinkPersona\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.UnlinkPersonaResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDelete a Recall token linking the PGS Player principal identified by the Recall session and an in-game account identified either by the 'persona' or by the token value.\n\n### HTTP request\n\n`POST https://games.googleapis.com/games/v1/recall:unlinkPersona`\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"sessionId\": string, // Union field `target` can be only one of the following: \"token\": string, \"persona\": string // End of list of possible types for union field `target`. } ``` |\n\n| Fields ||\n|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `sessionId` | `string` Required. Opaque server-generated string that encodes all the necessary information to identify the PGS player / Google user and application. |\n| Union field `target`. Identifier of the target in-game account to be unlinked `target` can be only one of the following: ||\n| `token` | `string` Value of the Recall token as it was provided by the client in recall.linkPersona RPC |\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.unlinkPersona 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 a Recall token specified by the request was deleted. Can be 'false' when there were no Recall tokens satisfied the criteria from the 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)."]]