> ## Documentation Index
> Fetch the complete documentation index at: https://scaleup-c34c4386.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# DELETE /api/v1/checkout-links/:id

> Remove (soft delete) um link de checkout

Realiza exclusão lógica (soft delete) de um link de checkout. O registro é marcado com `deleted_at` e deixa de aparecer nas listagens. A URL pública do link deixará de funcionar após a exclusão.

## Autenticação

Requer **Organization Access Token (OAT)** via header `Authorization: Bearer`.

## Parâmetros de Path

**id** `string` *required*

ID único do checkout link

## Resposta

Retorna status `204 No Content` em caso de sucesso.

## Exemplo

```bash cURL theme={null}
curl -X DELETE https://api.chargefy.io/api/v1/checkout-links/clink_def456 \
  -H "Authorization: Bearer $CHARGEFY_ACCESS_TOKEN"
```

```typescript SDK theme={null}
import { Chargefy } from '@chargefy/sdk';

const chargefy = new Chargefy({
  accessToken: process.env.CHARGEFY_ACCESS_TOKEN,
});

await chargefy.checkoutLinks.delete('clink_def456');
```

> [!WARNING]
>
> Checkouts já iniciados a partir deste link não são afetados. Novos acessos à URL do link retornarão erro 404.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.