Skip to content

Kick Player From Session By Id

Deprecated
DELETE
/session/v1/session/{session_id}/player/id/{player_id}

Kick or Remove a player from a session, or cancel an invite for a player to the session

Required Permissions:

  • For any player (including themselves) any of: session:update-player:any, session:update-player:self, session:*

Required Session Permissions: None for players operating on themselves. SessionPermissions.session_admin for operating on other players in your session

DEPRECATED - Use the player endpoint instead

Authorizations

Parameters

Path Parameters

session_id
required
string
>= 1 characters <= 128 characters
player_id
required
integer

Responses

204

Successful Response

403

Forbidden

object
auth_success
boolean
default: true
error_code
required
string
desc
required
string

404

Session doesn’t exist or Player is not a member of the session. See error code for more info

object
auth_success
boolean
default: true
error_code
required
string
desc
required
string

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string