post

/users/me/relationships

Updates the friend list of the authenticated user.

Authorization

apiKey - Authorization

Request Body

Schema
object

Friends details.

action
string

Type of the action. Can be:

  • friend_request_add to send a friend request,
  • friend_request_cancel to cancel the friend request that was sent,
  • friend_request_approve to confirm the friend request,
  • friend_request_deny to cancel the friend request that was received,
  • friend_remove to delete the user from the friend list,
  • block to block the user,
  • unblock to unblock the user.
1 validation
user
string

ID of the user to change relationship with.

1 validation

Responses

No Content

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
1 variable not set
Authorization