v1

latestSwagger 2.02026-07-176455196.1 KB
model-access

Set key model access

Atomically replaces the API key's model allowlist. All models must be allowed at the team and org level. Pass an empty array to clear.

put/orgs/{org_id}/keys/{key_id}/model-access

Path parameters

org_idstring required

Organization ID

key_idstring required

API key ID

Request body

modelsstring[]

Response

OK

modelsstring[]