Scores: resetMultipleForAllPlayers
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
अनुमति देना ज़रूरी है
सभी खिलाड़ियों के लिए दिए गए आईडी के साथ लीडरबोर्ड के स्कोर रीसेट करता है. यह विधि केवल आपके डेवलपर कंसोल के उपयोगकर्ता खातों के लिए उपलब्ध है. सिर्फ़ ड्राफ़्ट लीडरबोर्ड रीसेट किए जा सकते हैं.
अनुरोध
एचटीटीपी अनुरोध
POST https://www.googleapis.com/games/v1management/scores/resetMultipleForAllPlayers
अनुमति देना
इस अनुरोध के लिए नीचे दिए गए दायरे के साथ अनुमति की ज़रूरत है (पुष्टि करने और अनुमति देने के बारे में ज़्यादा पढ़ें).
दायरा |
https://www.googleapis.com/auth/games |
अनुरोध का मुख्य भाग
अनुरोध के मुख्य हिस्से में, इस स्ट्रक्चर के साथ डेटा उपलब्ध कराएं:
{
"kind": "gamesManagement#scoresResetMultipleForAllRequest",
"leaderboard_ids": [
string
]
}
प्रॉपर्टी का नाम |
मान |
ब्यौरा |
नोट |
kind |
string |
इस संसाधन के टाइप की अलग-अलग पहचान करता है. यह वैल्यू हमेशा तय की गई स्ट्रिंग gamesManagement#scoresResetMultipleForAllRequest होती है. |
|
leaderboard_ids[] |
list |
रीसेट किए जाने वाले लीडरबोर्ड के आईडी. |
|
जवाब
अगर यह तरीका सही तरीके से काम करता है, तो जवाब का मुख्य हिस्सा खाली होता है.
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया."],[],[],null,["# Scores: resetMultipleForAllPlayers\n\n**Requires [authorization](#auth)**\n\nResets scores for the leaderboards with the given IDs for all players. This method is only available to user accounts for your developer console. Only draft leaderboards may be reset.\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/games/v1management/scores/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#scoresResetMultipleForAllRequest\",\n \"leaderboard_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#scoresResetMultipleForAllRequest`. | |\n| `leaderboard_ids[]` | `list` | The IDs of leaderboards to reset. | |\n\nResponse\n--------\n\nIf successful, this method returns an empty response body."]]