> ## 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.

# Clear the Provider Allowlist

> Removes every allowlist entry, returning the organization to filtered: false.

Removes every allowlist entry, returning your organization to `filtered: false`.

Idempotent, and it **keeps every instruction override** — re-enabling a provider later restores your wording with it.

> [!WARNING]
>
> This is not a "show everything" switch. Under the opt-in rule, an organization with no allowlist entries has enabled nothing; clearing the list is the same end state as [Replace the Provider Allowlist](https://docs.y.uno/reference/organizations/whitelabel/replace-provider-allowlist.md) with an empty `provider_ids`. Rebuild the list with `PUT` when you want to widen what you offer.

### Response

`204 No Content`. There is no response body.

```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"]
}
```

Read the result back with [List the White-label Provider Overlay](https://docs.y.uno/reference/organizations/whitelabel/list-providers.md): `filtered` is now `false`, and `providers` still lists any provider that carries an instruction override, each with `allowed: false`.

### Errors

| HTTP | `code` | When |
| - | - | - |
| `401` | `NOT_AUTHENTICATED` | Missing or invalid API keys. |


## OpenAPI

````yaml openapi/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: Clear the Provider Allowlist
      description: >-
        Removes every allowlist entry, returning the organization to `filtered:
        false`. Idempotent, and it keeps every instruction override, so
        re-enabling a provider later restores your wording with it.
      operationId: clear-whitelabel-provider-allowlist
      responses:
        '204':
          description: Allowlist cleared. No content.
        '401':
          description: Unauthorized — invalid or missing API keys.
          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.