v6 documentation is incomplete, want to contribute?

Unfriend

Unfriend a user by ID.

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

DELETE
/auth/user/friends/{userId}
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/auth/user/friends/string"

{
  "success": {
    "message": "Friendship destroyed",
    "status_code": 200
  }
}

{
  "error": {
    "message": "These users are not friends",
    "status_code": 400
  }
}

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