63028c4d3916

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-08-122881,3942.7 MB
Projects

Updates model permissions for a project.

post/organization/projects/{project_id}/model_permissions

Path parameters

project_idstring required

The ID of the project.

Request body

mode'allow_list' | 'deny_list' required

The model permissions mode to apply.

model_idsstring[] required

The model IDs included in this permissions policy.

Response

Project model permissions updated successfully.

object'project.model_permissions' required

The object type, which is always project.model_permissions.

mode'allow_list' | 'deny_list' required

Whether the project uses an allowlist or a denylist.

model_idsstring[] required

The model IDs included in the model permissions policy.