> ## Documentation Index
> Fetch the complete documentation index at: https://docs.y.uno/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Test in the sandbox first: base URL https://api-sandbox.y.uno (Test Mode in the Dashboard). Production is https://api.y.uno (Live Mode).
> Every API request needs the public-api-key and private-secret-key headers. Get them in the Dashboard at https://dashboard.y.uno/developers (Developers > Credentials); sandbox and production keys are different.
> Send an X-Idempotency-Key (a UUID) when creating payments, refunds and cancels, so retries do not create duplicates.
> Start with the Quickstart (https://docs.y.uno/docs/quickstart.md) and the agent guide (https://docs.y.uno/agents.md). To search these docs from a coding agent, connect the docs MCP server at https://docs.y.uno/mcp.

# Limpar a allowlist de provedores

> Remove todos os itens da allowlist, voltando a organização para filtered: false.

Remove todos os itens da allowlist, voltando a sua organização para `filtered: false`.

É idempotente e **mantém todas as instruções personalizadas**: ao reativar um provedor depois, o seu texto volta junto com ele.

> [!WARNING]
>
> Isto não é um botão de "mostrar tudo". Pela regra de opt-in, uma organização sem itens na allowlist não habilitou nada; limpar a lista leva ao mesmo estado final de [Substituir a allowlist de provedores](https://docs.y.uno/pt-br/reference/organizations/whitelabel/replace-provider-allowlist.md) com um `provider_ids` vazio. Reconstrua a lista com `PUT` quando quiser ampliar o que você oferece.

### Resposta

`204 No Content`. Não há corpo na resposta.

```bash cURL theme={"theme":{"light":"github-dark","dark":"github-dark-dimmed"}}
curl -X DELETE 'https://api.y.uno/v1/whitelabel/providers' \
  -H 'public-api-key: <YOUR_PUBLIC_KEY>' \
  -H 'private-secret-key: <YOUR_SECRET_KEY>' \
  -i
```

```text 204 No Content theme={"theme":{"light":"github-dark","dark":"github-dark-dimmed"}}
HTTP/1.1 204 No Content
```

```json 401 Unauthorized theme={"theme":{"light":"github-dark","dark":"github-dark-dimmed"}}
{
  "code": "NOT_AUTHENTICATED",
  "messages": ["Not authenticated"]
}
```

Confira o resultado com [Listar a camada white-label de provedores](https://docs.y.uno/pt-br/reference/organizations/whitelabel/list-providers.md): `filtered` passa a ser `false`, e `providers` continua listando todo provedor que tenha instruções personalizadas, cada um com `allowed: false`.

### Erros

| HTTP | `code` | Quando |
| - | - | - |
| `401` | `NOT_AUTHENTICATED` | Chaves de API ausentes ou inválidas. |


## OpenAPI

````yaml openapi/pt-br/organizations/whitelabel/clear-provider-allowlist.json DELETE /whitelabel/providers
openapi: 3.1.0
info:
  title: White-label Providers API - Clear Allowlist
  version: 1.0.0
servers:
  - url: https://api-sandbox.y.uno/v1
    description: Sandbox
  - url: https://api.y.uno/v1
    description: Production (US)
security:
  - sec0: []
    sec1: []
paths:
  /whitelabel/providers:
    delete:
      summary: Limpar a allowlist de provedores
      description: >-
        Remove todas as entradas da allowlist, retornando a organização a
        `filtered: false`. É idempotente e mantém todas as instruções
        personalizadas, então reativar um provedor depois restaura o seu texto
        junto com ele.
      operationId: clear-whitelabel-provider-allowlist
      responses:
        '204':
          description: Allowlist limpa. Sem conteúdo.
        '401':
          description: 'Não autorizado: chaves de API inválidas ou ausentes.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    example: NOT_AUTHENTICATED
                  messages:
                    type: array
                    items:
                      type: string
                    example:
                      - Not authenticated
components:
  securitySchemes:
    sec0:
      type: apiKey
      in: header
      name: PUBLIC-API-KEY
      x-default: <Your PUBLIC-API-KEY>
    sec1:
      type: apiKey
      in: header
      name: PRIVATE-SECRET-KEY
      x-default: <Your PRIVATE-SECRET-KEY>

````

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