Projects

Modify project model permissions

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.

Changes

Changed in 2 of the 164 revisions of this API.5

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      endpoint added

      endpoint-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog