Update a player
PATCH/api/players-data/v1/players/:playerId
Update an existing player. Send only the fields you want to change; fields you leave out keep their current values.
addressandsessionare replaced as a whole. To change one of their fields, send the complete object, including its required fields (for example, sendregistrationDateandregistrationDeviceagain to setverificationDate).- In
optIn, channels you leave out are unchanged. - For
customDatafields ofoptiontype with multiple values,option.behaviorsets whether the selected values are added, replaced or removed. eventDaterecords when the player data was updated.
The player must already exist (created with Create a player); otherwise the call returns 404 Player Not Found. Returns 204 No Content on success.
Request
Responses
- 204
- 400
- 401
- 404
- default
No Content
Bad Request
Unauthorized
Player Not Found
An unexpected error response.