Update Session Player By Id
POST /session/v1/session/{session_id}/player/id/{player_id}
Add or invite a player to the session, or change the status of a player already in the session
Required Permissions:
- For any player (including themselves) any of:
session:*
,session:promote:any
,session:promote:self
Required Session Permissions: None if session is publicly joinable or the player has been invited.
SessionPermissions.session_admin
for other operations
DEPRECATED - Use the player endpoint instead
Authorizations
Parameters
Path Parameters
Request Body required
A request body to update information about a player in a session
object
Status that the player would like after the request is complete. Note that some join operations may promote the player from member
to leader
Which team the player should be on
Player-defined custom data
object
How we should handle too many players being invited to the chosen team
Responses
200
Successful Response
Response to a request to update a player in a session
object
Player UUID of the player updated
Status of the player after the request is completed
Which team the player joined
Resulting custom data about the player
object
403
Forbidden
object
404
Session doesn’t exist or Player is not a member of the session. See error code for more info
object
422
Validation Error