DELETE/organization/projects/{project_id}/model_permissions

Delete model permissions for a project

Deletes the model permission policy for a project. Use project_id to identify the project whose policy you want to remove. The response confirms whether the permissions were deleted.

1 parameter
project_idstringrequired
The ID of the project.

5 status codes
200Returns a confirmation object with the `project.model_permissions.deleted` object type and a boolean indicating whether the permissions were deleted.
objectstringrequired
The object type, which is always `project.model_permissions.deleted`.
Allowed:project.model_permissions.deleted
deletedbooleanrequired
Whether the project model permissions were deleted.
400Returned when the project is archived.
errorobjectrequired
403Returned when the caller does not have permission to perform this operation.
errorobjectrequired
Details about the permission error.
404Returned when the project or model permission settings were not found.
errorobjectrequired
429Returned when the management request rate is exceeded.
errorobjectrequired

Error handling

A 400 is returned when the project is archived. A 403 is returned when the caller lacks permission, a 404 when the project or its model permission settings are not found, and a 429 when the management request rate is exceeded. The project_id path parameter identifies the project.