Contents

Modify a Game Center Detail Player

Block or unblock a player for a game.

URL

PATCH https://api.appstoreconnect.apple.com/v1/gameCenterDetailPlayers/{id}

Path Parameters

NameTypeDescription
id Requiredstring

The player’s game-scoped ID. Obtain it from the List Blocked Players response or the List Score Moderations for a Leaderboard response.

Response Codes

StatusReasonTypeDescription
200OK
Content-Type: application/json
GameCenterDetailPlayerResponse

The request completed successfully.

400Bad Request
Content-Type: application/json
ErrorResponse

An error occurred with your request.

401Unauthorized
Content-Type: application/json
ErrorResponse

403Forbidden
Content-Type: application/json
ErrorResponse
404Not Found
Content-Type: application/json
ErrorResponse

Resource not found.

409Conflict
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 player prevents that player from playing the game. The response contains the updated GameCenterDetailPlayer in a GameCenterDetailPlayerResponse.

HTTP Body

The request body you use to modify a Game Center detail player. See GameCenterDetailPlayerUpdateRequest.