curl --request PUT \
--url https://api.supernotes.app/v1/friends/{other_user_id} \
--header 'Api-Key: <api-key>'
{
"other_user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"username": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"bio": "<string>",
"photo": "<string>"
},
"modified_when": "2023-11-07T05:31:56Z"
}
curl --request PUT \
--url https://api.supernotes.app/v1/friends/{other_user_id} \
--header 'Api-Key: <api-key>'
{
"other_user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"username": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"bio": "<string>",
"photo": "<string>"
},
"modified_when": "2023-11-07T05:31:56Z"
}
Successful Response
The response is of type object
.