Chess Now! IconChess Now
API ReferenceFriends

Remove a friend

DELETE
/api/me/friends/{username}

Removes an existing friendship with the specified user.

Triggers the friend:removed ws event to the target user.

Path Parameters

username*string

Header Parameters

cookie?string
authorization?string
Match^Bearer .*

Response Body

application/json

curl -X DELETE "https://example.com/api/me/friends/string"
{  "success": true,  "data": {    "success": true  }}