cURL
curl --request DELETE \ --url https://api.example.com/users/@me/relationships/{userId} \ --header 'Authorization: <authorization>'
{ "400": {}, "401": {} }
Delete an existing relationship or reject an incoming friend request
Bearer <token>
204 No Content
{ "message": "You do not currently have an outgoing, incoming, or active relationship with \"username\"" }
{ "message": "Unauthorized" }
curl -X DELETE "http://localhost:8080/users/@me/relationships/123e4567-e89b-12d3-a456-426614174000" \ -H "Authorization: Bearer your-jwt-token"