Leave Session By Id Self
DELETE/session/v1/session/:session_id/player/me
Leave a session with currently authed player
Required Permissions:
-
For any player (including themselves) :
session:* -
For the player themselves :
session:update:self
Required Permissions: None
Request
Path Parameters
session_id Session Idrequired
Possible values: non-empty and <= 128 characters
Query Parameters
refresh_ttl Refresh Ttl
Default value: true
Responses
- 204
- 403
- 404
- 422
Successful Response
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
auth_success Auth Success (boolean)
Default value: true
error_code Error Code (string)required
desc Desc (string)required
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}
Session doesn't exist or Player is not a member of the session. See error code for more info
- application/json
- Schema
- Example (from schema)
Schema
auth_success Auth Success (boolean)
Default value: true
error_code Error Code (string)required
desc Desc (string)required
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...