---
title: "Desvincular entidades"
method: POST
path: "/api/v4/{entity}/{entity_id}/unlink"
---

# Desvincular entidades

`POST /api/v4/{entity}/{entity_id}/unlink`

## Request

- Base URL: `https://subdomain.kommo.com`
- URL: `https://subdomain.kommo.com/api/v4/{entity}/{entity_id}/unlink`
- Auth: OAuth 2

Este método permite desvincular entidades a um negócio, contato ou empresa.

## Path parameters

- `entity` 'leads' | 'contacts' | 'companies', required
- `entity_id` integer, required

## Headers

- `Content-Type` string

## Request body

- object
  - `RAW_BODY` object[]
    - `to_entity_type` 'leads' | 'contacts' | 'companies' | 'catalog_elements': Tipo de entidade a ser desvinculada (leads, contacts, companies, catalog_elements)
    - `to_entity_id` integer: ID da entidade a ser desvinculada
    - `metadata` object
      - `catalog_id` integer: ID da lista
      - `updated_by` integer: ID do usuário que está realizando a desvinculação

## Response `204`

204

- object

## Other responses

- `400`: 400
- `401`: 401
- `403`: 403

---

[API](https://skmtc.dev/kommo/apis/referencias-de-api-da-kommo.md) - [All operations](https://skmtc.dev/kommo/apis/referencias-de-api-da-kommo/llms.txt) - [OpenAPI document](https://skmtc.dev/kommo/apis/referencias-de-api-da-kommo/revisions/55101699dddb?raw)
