---
title: "Excluir Boleto do Lote"
method: DELETE
path: "/v1/bank_billet_batches/{id}/remove_bank_billet"
tags: ["Lotes"]
---

# Excluir Boleto do Lote

`DELETE /v1/bank_billet_batches/{id}/remove_bank_billet`

## Request

- Base URL: `https://api-sandbox.kobana.com.br`
- URL: `https://api-sandbox.kobana.com.br/v1/bank_billet_batches/{id}/remove_bank_billet`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/kobana/apis/cobran-as/docs/v1/bank_billet_batches/:id/remove_bank_billet/delete.ts> (a function with typed inputs; its response is checked against the schema)

Excluir boleto do lote.

## Path parameters

- `id` string, required

## Headers

- `User-Agent` string
- `X-Idempotency-Key` string

## Request body

- object
  - `bank_billet_id` integer, nullable, required: ID dos [Boleto](/reference/post_v1-bank-billets-1) separados por vírgula.

## Response `204`

Boleto removido com sucesso

## Other responses

- `401`: Falha de autenticação. Token inválido
- `403`: Falha de permissão. Você não tem o Scope obrigatório para essa chamada.
- `404`: Lote não encontrado

---

[API](https://skmtc.dev/kobana/apis/cobran-as.md) - [All operations](https://skmtc.dev/kobana/apis/cobran-as/llms.txt) - [OpenAPI document](https://skmtc.dev/kobana/apis/cobran-as/revisions/728c362ec4d7?raw)
