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

# 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](/reference/organizations/whitelabel/replace-provider-allowlist) with an empty `provider_ids`. Rebuild the list with `PUT` when you want to widen what you offer.
</Warning>

### Response

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

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

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

### Errors

<div className="code-nowrap-table dense-table">
  | HTTP  | `code`              | When                         |
  | ----- | ------------------- | ---------------------------- |
  | `401` | `NOT_AUTHENTICATED` | Missing or invalid API keys. |
</div>


## 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
  - url: https://api.eu.y.uno/v1
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>

````