---
title: "Cancel Link"
method: POST
path: "/api/v1/account-links/{link_id}/cancel"
tags: ["api", "api", "account-links"]
---

# Cancel Link

`POST /api/v1/account-links/{link_id}/cancel`

## Request

- Base URL: `https://www.faroz.uz` (the document declares no server; this is the origin it was published from)
- URL: `https://www.faroz.uz/api/v1/account-links/{link_id}/cancel`
- Auth: HTTP bearer

Bog'lanishni bekor qilishni so'raydi (yoki yangi so'rovni bekor qiladi).

## Path parameters

- `link_id` integer, required

## Response `200`

Successful Response

- LinkedProfileListResponse
  - `items` LinkedProfileResponse[]
    - `id` integer, required
    - `email` string, required
    - `name` string, nullable
    - `role` string, required
    - `counterpart_role` string, nullable
    - `status` string, required
    - `is_incoming` boolean
    - `awaiting_my_cancel_confirm` boolean
    - `can_cancel` boolean
    - `cancel_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/faroz/apis/edu-app-api.md) · [All operations](https://skmtc.dev/faroz/apis/edu-app-api/llms.txt) · [OpenAPI document](https://skmtc.dev/faroz/apis/edu-app-api/revisions/414a551ba773?raw)
