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

# 清除 API Key 网络访问策略

清除单个 API Key 的网络访问策略，恢复为不限制来源 IP。清除后，任意来源 IP 均可使用该 Key 调用模型。

## 权限

| 角色 | 是否可清除 |
| :- | :- |
| 所有者 / 管理员 | 可清除团队内任意 API Key 的网络访问策略。 |
| 开发者 | 只能清除自己创建的 API Key。 |
| 基础用户 | 不可清除。 |
| 财务管理员 | 不可清除。 |

被清除的 API Key 必须属于当前调用方所在的团队。清除无权限或不属于本团队的 Key 时，接口不会暴露目标 Key 是否存在，一律按无权限处理。

## 请求头

**Authorization** `string` *required*

Bearer 身份验证格式，例如：Bearer \{\{API 密钥}}。

## 路径参数

**stringId** `string` *required*

目标 API Key 的 stringId。

## 响应

清除成功返回空对象。

```bash theme={null}
curl --request DELETE \
  --url https://api.highwayapi.ai/openapi/v2/user/key/<stringId>/ip-access-policy \
  --header 'Authorization: Bearer <API_KEY>'
```

```json 200 theme={null}
{}
```


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