---
title: "Remove friend"
method: PUT
path: "/api/v5/friendships/remove-friend"
tags: ["Friendships"]
---

# Remove friend

`PUT /api/v5/friendships/remove-friend`

## Request

- Base URL: `https://api.pavlok.com`
- URL: `https://api.pavlok.com/api/v5/friendships/remove-friend`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/pavlok/apis/pavlok-api-v5/docs/api/v5/friendships/remove-friend/put.ts> (a function with typed inputs; its response is checked against the schema)

Remove friend

## Request body

- BodyFriendshipsRemoveFriendApiV5FriendshipsRemoveFriendPut
  - `friendship-request` FriendshipRequestInRemove, required: Friendship request schema in remove
    - `userId` integer, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pavlok/apis/pavlok-api-v5.md) - [All operations](https://skmtc.dev/pavlok/apis/pavlok-api-v5/llms.txt) - [OpenAPI document](https://skmtc.dev/pavlok/apis/pavlok-api-v5/revisions/3d192098b1ac?raw)
