Delete Friend V2
DELETE/friends/v2/player/:player_uuid/friend/:other_player_uuid
Remove the friend's relationship status with the other Player.
This should be used for declining Friend requests, deleting sent Friends Requests, and deleting Friends
Note: This API supports etags and will return the etag header when with the response and will match the etag value provided when [fetching Friend Relationship between these two players](#/Friends V1/get_friend_relationship). It is highly recommended to provide the etag value with the if-match header to avoid lost updates.
Permissions Required: friend:friend_list:write
Request
Path Parameters
Header Parameters
If you provide the ETag that does not matches the current ETag for this resource, a 412 response will be return - indicating that the resource has changed.
Responses
- 204
- 400
- 403
- 409
- 412
- 422
Successful Response
Response Headers
ETag
string
Used to identify this version of the content. Provide with a get request to avoid downloading the same data multiple times.
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
Default value: true
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Default value: true
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}
Conflict
- application/json
- Schema
- Example (from schema)
Schema
Default value: true
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}
The resource's Etag does not match the Etag provided. Get the Etag from the Get request and try again
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}