Block V2
PUT/friends/v2/player/:player_uuid/block/:other_player_uuid
Block the other Player. There is a max number of Players that can be blocked per Player.
The limit can determined using this API.
Permissions Required: friend:block_list:write
Request
Path Parameters
player_uuid uuidrequired
other_player_uuid uuidrequired
Responses
- 200
- 400
- 403
- 409
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
blocked_player_uuid uuidrequired
last_modified_on date-timerequired
{
"blocked_player_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"last_modified_on": "2024-07-29T15:51:28.071Z"
}
Bad Request
- 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"
}
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"
}
Conflict
- 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...