Update a model access policy
LLM Gateway: Model Access
Update a model access policy
PUT
Update a model access policy
Authorizations
JWT obtained through Barndoor's authentication flow. Pass the token
verbatim in Authorization: Bearer <token>. Use the Barndoor SDK's
loginInteractive() helper to obtain a token in scripts and notebooks.
Path Parameters
Body
application/json
All fields optional. targets cannot be empty if provided.
Response
The updated policy
Available options:
org, team, user, project, api_key, mcp_server, agent, role, group Available options:
allowlist, denylist - Option 1
- Option 2
- Option 3
- Option 4
Available options:
llm, all 