# Reset API Key Model Access Policy - Documentation

> For the complete documentation index, see [llms.txt](/llms.txt). Markdown is available with `Accept: text/markdown` and `.md` URL variants.

Source: /docs/api-reference/key-delete-model-access-policy

# Reset API Key Model Access Policy

Copy pageCopy page

Copy pageCopy page

DELETE

/

openapi

/

v2

/

user

/

key

/

{stringId}

/

model-access-policy

Try it

```
curl --request DELETE \
--url https://api.novita.ai/openapi/v2/user/key//model-access-policy \
--header 'Authorization: Bearer '
```

200

```
{}
```

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)

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)

Request Headers

[​](#param-authorization)

Authorization

string

required

Bearer authentication format, for example: Bearer {{API Key}}.

##

[​](#path-parameters)

Path Parameters

[​](#param-string-id)

stringId

string

required

The stringId of the target API key.

##

[​](#request-body)

Request Body

No request body.

##

[​](#response)

Response

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

```
curl --request DELETE \
--url https://api.novita.ai/openapi/v2/user/key//model-access-policy \
--header 'Authorization: Bearer '
```

200

```
{}
```

Last modified on July 22, 2026
