Modify a Game Center Score Moderation
Block or unblock a score submitted to a leaderboard.
URL
PATCH https://api.appstoreconnect.apple.com/v1/gameCenterScoreModerations/{id}Path Parameters
| Name | Type | Description |
|---|---|---|
id Required | string | An opaque resource ID that uniquely identifies the resource. Obtain the score moderation resource ID from the List Score Moderations for a Leaderboard response. |
Response Codes
| Status | Reason | Type | Description |
|---|---|---|---|
| 200 | OK Content-Type: application/json | GameCenterScoreModerationResponse | The request completed successfully. |
| 400 | Bad Request Content-Type: application/json | ErrorResponse | An error occurred with your request. |
| 401 | Unauthorized Content-Type: application/json | ErrorResponse | |
| 403 | Forbidden Content-Type: application/json | ErrorResponse | Request not authorized. |
| 404 | Not Found Content-Type: application/json | ErrorResponse | Resource not found. |
| 409 | Conflict Content-Type: application/json | ErrorResponse | The provided resource data is not valid. |
| 422 | Content-Type: application/json | ErrorResponse | |
| 429 | Content-Type: application/json | ErrorResponse |
Mentioned in
Overview
Blocking a score removes it from the leaderboard, and unblocking reinstates it. The response contains the updated GameCenterScoreModeration in a GameCenterScoreModerationResponse.
HTTP Body
The request body you use to modify a Game Center score moderation. See GameCenterScoreModerationUpdateRequest.