v6 documentation is incomplete, want to contribute?

Delete Friend Request

Deletes an outgoing pending friend request to another user. To delete an incoming friend request, use the deleteNotification endpoint instead.

Requests made through this page are proxied through an intermediary server due to Cross-Origin Resource Sharing restrictions.

DELETE
/user/{userId}/friendRequest
auth<token>

Auth Token via Cookie

In: cookie

Path Parameters

userIdstring

Must be a valid user ID.

Response Body

application/json

application/json

application/json

curl -X DELETE "https://api.vrchat.cloud/api/1/user/string/friendRequest"

{
  "success": {
    "message": "Friendship request deleted",
    "status_code": 200
  }
}

{
  "error": {
    "message": "\"Missing Credentials\"",
    "status_code": 401
  }
}

{
  "error": {
    "message": "that friend request could not be found",
    "status_code": 404
  }
}