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

# 重置 API Key 模型访问策略

删除单个 API Key 的模型访问策略，将其恢复为默认策略（`mode=all_enabled`，可访问团队全部已开通模型）。

## 权限

仅团队的 Owner / Admin 可以调用。Developer、基础用户和财务管理员无权重置。被操作的 API Key 必须属于当前调用方所在的团队。

## 请求头

<ParamField header="Authorization" type="string" required={true}>
  Bearer 身份验证格式，例如：Bearer \{\{API 密钥}}。
</ParamField>

## 路径参数

<ParamField path="stringId" type="string" required={true}>
  目标 API Key 的 stringId。
</ParamField>

## 请求体

无请求体。

## 响应

请求成功后返回 HTTP 200，响应体为空对象。重置后再次查询该 Key 会返回默认策略。

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

<ResponseExample>
  ```json 200 theme={null}
  {}
  ```
</ResponseExample>
