---
title: "Recusando leads de entrada"
method: DELETE
path: "/api/v4/leads/unsorted/{uid}/decline"
---

# Recusando leads de entrada

`DELETE /api/v4/leads/unsorted/{uid}/decline`

## Request

- Base URL: `https://subdomain.kommo.com`
- URL: `https://subdomain.kommo.com/api/v4/leads/unsorted/{uid}/decline`
- Auth: OAuth 2

Este método permite recusar um lead de entrada.

## Path parameters

- `uid` string, required

## Request body

- object
  - `user_id` integer: O ID do usuário que está realizando a recusa.

## Response `200`

200

- object
  - `uid` string
  - `pipeline_id` integer
  - `category` string
  - `created_at` integer
  - `_embedded` object
    - `leads` object[]
      - `id` integer
      - `_links` object
        - `self` object
          - `href` string
    - `contacts` object[]
      - `id` integer
      - `is_deleted` boolean
      - `is_unsorted` boolean
      - `_links` object
        - `self` object
          - `href` string

## Other responses

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

---

[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)
