Skip to main content
POST
/
v1
/
friends
/
cancel
Cancel friend request
curl --request POST \
  --url https://api.magne.app/v1/friends/cancel \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
userId
string<uuid>
required

Response

Success