Sample - OpenAI API
DELETE/organization/projects/{project_id}/model_permissions

Delete project model permissions

Deletes the model permissions policy configured for a project. Supply project_id to identify the project whose model permissions you want to delete.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

1 parameter
project_idstringrequired
The unique identifier of the project whose model permissions to delete.

1 status code
200Returns a confirmation object with `object` set to `project.model_permissions.deleted` and `deleted` indicating whether the project model 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.

Error handling

project_id must identify the project whose model permissions you want to delete. The operation removes the project's configured model permissions policy.