Achievements: resetForAllPlayers
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
需要授权
为所有玩家重置具有给定 ID 的成就。此方法仅适用于开发者控制台的用户账号。只有草稿成就才能重置。
请求
HTTP 请求
POST https://www.googleapis.com/games/v1management/achievements/achievementId/resetForAllPlayers
参数
参数名称 |
值 |
说明 |
路径参数 |
achievementId |
string |
此方法使用的成就的 ID。
|
授权
此请求需要获得以下范围的授权(详细了解身份验证和授权)。
范围 |
https://www.googleapis.com/auth/games |
请求正文
使用此方法时请勿提供请求正文。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Achievements: resetForAllPlayers\n\n**Requires [authorization](#auth)**\n\nResets the achievement with the given ID for all players. This method is only available to user accounts for your developer console. Only draft achievements can be reset.\n\nRequest\n-------\n\n### HTTP request\n\n```\nPOST https://www.googleapis.com/games/v1management/achievements/achievementId/resetForAllPlayers\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|-----------------|----------|------------------------------------------------|\n| **Path parameters** |||\n| `achievementId` | `string` | The ID of the achievement used by this method. |\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\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns an empty response body."]]