Method: recall.unlinkPersona
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Exclua um token de recuperação que vincula o principal do jogador do PGS identificado pela sessão de recuperação e uma conta no jogo identificada pelo "perfil" ou pelo valor do token.
Solicitação HTTP
POST https://games.googleapis.com/games/v1/recall:unlinkPersona
Corpo da solicitação
O corpo da solicitação contém dados com a seguinte estrutura:
Representação 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 .
} |
Campos |
sessionId |
string
Obrigatório. String opaca gerada pelo servidor que codifica todas as informações necessárias para identificar o jogador do PGS / usuário do Google e o aplicativo.
|
Campo de união target . O identificador da conta no jogo a ser desvinculada target só pode ser um dos seguintes: |
token |
string
Valor do token de recuperação conforme fornecido pelo cliente no RPC recall.linkPersona
|
persona |
string
Valor do campo "persona" conforme fornecido pelo cliente no RPC recall.linkPersona
|
Corpo da resposta
Resposta para o RPC recall.unlinkPersona
Se bem-sucedido, o corpo da resposta incluirá dados com a estrutura a seguir:
Representação JSON |
{
"unlinked": boolean
} |
Campos |
unlinked |
boolean
Obrigatório. Indica se um token de recuperação especificado pela solicitação foi excluído. Pode ser "false" quando não há tokens de recuperação que atendam aos critérios da solicitação.
|
Escopos de autorização
Requer o seguinte escopo OAuth:
https://www.googleapis.com/auth/androidpublisher
Para mais informações, consulte a Visão geral do OAuth 2.0.
O conteúdo e os exemplos de código nesta página estão sujeitos às licenças descritas na Licença de conteúdo. Java e OpenJDK são marcas registradas da Oracle e/ou suas afiliadas.
Última atualização 2025-07-27 UTC.
[null,null,["Última atualização 2025-07-27 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)."]]