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

# 清空服务提供商允许列表

> 移除所有允许列表条目，使组织恢复为 filtered: false。

移除所有允许列表条目，使您的组织恢复为 `filtered: false`。

此操作是幂等的，并且会**保留所有说明覆盖**：之后重新启用某个服务提供商时，您的文字也会随之恢复。

> [!WARNING]
>
> 这并不是“显示全部”的开关。在主动启用规则下，没有任何允许列表条目的组织等于什么都没有启用；清空列表的最终状态与使用空的 `provider_ids` 调用[替换服务提供商允许列表](https://docs.y.uno/zh-hans/reference/organizations/whitelabel/replace-provider-allowlist.md)相同。当您想扩大所提供的范围时，请使用 `PUT` 重新构建列表。

### 响应

`204 No Content`。没有响应体。

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

使用[列出白标服务提供商叠加层](https://docs.y.uno/zh-hans/reference/organizations/whitelabel/list-providers.md)读取结果：`filtered` 现在为 `false`，并且 `providers` 仍会列出带有说明覆盖的所有服务提供商，每个都为 `allowed: false`。

### 错误

| HTTP | `code` | 触发时机 |
| - | - | - |
| `401` | `NOT_AUTHENTICATED` | API 密钥缺失或无效。 |


## OpenAPI

````yaml openapi/zh-hans/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: 清除服务提供商允许列表
      description: >-
        移除所有允许列表条目，使组织恢复为 `filtered:
        false`。具有幂等性，并且会保留所有说明覆盖，因此之后重新启用某个服务提供商时，您的措辞也会一并恢复。
      operationId: clear-whitelabel-provider-allowlist
      responses:
        '204':
          description: 允许列表已清除。无内容。
        '401':
          description: 未授权：API 密钥无效或缺失。
          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.