Achievements: resetMultipleForAllPlayers
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
अनुमति देना ज़रूरी है
सभी प्लेयर के लिए दिए गए आईडी के साथ उपलब्धियों को रीसेट करता है. यह विधि केवल आपके डेवलपर कंसोल के उपयोगकर्ता खातों के लिए उपलब्ध है. सिर्फ़ ड्राफ़्ट उपलब्धियां ही रीसेट की जा सकती हैं.
अनुरोध
एचटीटीपी अनुरोध
POST https://www.googleapis.com/games/v1management/achievements/resetMultipleForAllPlayers
अनुमति देना
इस अनुरोध के लिए नीचे दिए गए दायरे के साथ अनुमति की ज़रूरत है (पुष्टि करने और अनुमति देने के बारे में ज़्यादा पढ़ें).
दायरा |
https://www.googleapis.com/auth/games |
अनुरोध का मुख्य भाग
अनुरोध के मुख्य हिस्से में, इस स्ट्रक्चर के साथ डेटा उपलब्ध कराएं:
{
"kind": "gamesManagement#achievementResetMultipleForAllRequest",
"achievement_ids": [
string
]
}
प्रॉपर्टी का नाम |
मान |
ब्यौरा |
नोट |
kind |
string |
इस संसाधन के टाइप की अलग-अलग पहचान करता है. यह वैल्यू हमेशा तय की गई स्ट्रिंग gamesManagement#achievementResetMultipleForAllRequest होती है. |
|
achievement_ids[] |
list |
रीसेट की जाने वाली उपलब्धियों के आईडी. |
|
जवाब
अगर यह तरीका सही तरीके से काम करता है, तो जवाब का मुख्य हिस्सा खाली होता है.
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया."],[],[],null,["# Achievements: resetMultipleForAllPlayers\n\n**Requires [authorization](#auth)**\n\nResets achievements with the given IDs for all players. This method is only available to user accounts for your developer console. Only draft achievements may be reset.\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/games/v1management/achievements/resetMultipleForAllPlayers\n```\n\n### Authorization\n\nThis request requires authorization with the following scope ([read more about authentication and authorization](/accounts/docs/OAuth2)).\n\n| Scope |\n|-----------------------------------------|\n| `https://www.googleapis.com/auth/games` |\n\n### Request body\n\nIn the request body, supply data with the following structure:\n\n```scdoc\n{\n \"kind\": \"gamesManagement#achievementResetMultipleForAllRequest\",\n \"achievement_ids\": [\n string\n ]\n}\n```\n\n| Property name | Value | Description | Notes |\n|---------------------|----------|------------------------------------------------------------------------------------------------------------------------------------------|-------|\n| `kind` | `string` | Uniquely identifies the type of this resource. Value is always the fixed string `gamesManagement#achievementResetMultipleForAllRequest`. | |\n| `achievement_ids[]` | `list` | The IDs of achievements to reset. | |\n\nResponse\n--------\n\nIf successful, this method returns an empty response body."]]