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

# Reset API Key Model Access Policy

Delete the model access policy of a single API key and reset it to the default policy (`mode=all_enabled`, access to all of the team's enabled models).

## Permissions

Only the team Owner / Admin can call this endpoint. Developer, Basic, and Billing members cannot reset the policy. The target API key must belong to the caller's team.

## Request Headers

<ParamField header="Authorization" type="string" required={true}>
  Bearer authentication format, for example: Bearer \{\{API Key}}.
</ParamField>

## Path Parameters

<ParamField path="stringId" type="string" required={true}>
  The stringId of the target API key.
</ParamField>

## Request Body

No request body.

## Response

Returns HTTP 200 with an empty object on success. Querying the key afterward returns the default policy.

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

<ResponseExample>
  ```json 200 theme={"system"}
  {}
  ```
</ResponseExample>
