---
title: Modify a Game Center Detail Player
framework: App Store Connect API
role: symbol
role_heading: Web Service Endpoint
platforms: [app store connect api 4.5+]
path: appstoreconnectapi/patch-v1-gamecenterdetailplayers-_id_
---

# 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

id: 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

200 OK: The request completed successfully. 400 Bad Request: An error occurred with your request. 401 Unauthorized: 403 Forbidden: 404 Not Found: Resource not found. 409 Conflict: The provided resource data is not valid. 422 : 429 :

## Mentioned in

App Store Connect API 4.5 release notes

## Overview

Overview tip: These endpoints require information from GameKit, specifically gamePlayerID. 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.
