Method: recall.unlinkPersona
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מחיקת אסימון ריקול שמקשר את חשבון המשתמש ב-PGS שזוהה בסשן Recall לחשבון במשחק שמזוהה על ידי ה'פרסונה' או לפי ערך האסימון.
בקשת 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 כפי שהוא סופק על ידי הלקוח ב-Recall.linkpersona RPC
|
persona |
string
הערך של 'פרסונה' שדה כפי שסופק על ידי הלקוח ב-cache.linkpersona RPC
|
גוף התשובה
תגובה ל-RPC.unlinkpersona RPC
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכיל נתונים במבנה הבא:
ייצוג JSON |
{
"unlinked": boolean
} |
שדות |
unlinked |
boolean
חובה. אם אסימון ריקול שצוין בבקשה נמחק. יכול להיות 'false' כשאין אסימוני זיכרון שעומדים בקריטריונים של הבקשה.
|
היקפי ההרשאות
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/androidpublisher
למידע נוסף, קראו את המאמר סקירה כללית של OAuth 2.0.
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[null,null,["עדכון אחרון: 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)."]]