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

Delete the project spend limit

Deletes a project's hard spend limit. Use project_id to identify the project whose threshold you want to remove, and receive confirmation of whether the limit was deleted.

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

1 parameter
project_idstringrequired
The string identifier of the project whose hard spend limit you want to delete.

1 status code
200Returns a deletion confirmation with the `project.spend_limit.deleted` object type and a `deleted` boolean.
objectstringrequired
The object type, which is always `project.spend_limit.deleted`.
Allowed:project.spend_limit.deletedDefault:project.spend_limit.deleted
deletedbooleanrequired
Whether the hard spend limit was deleted.

Error handling

project_id must identify the project whose hard spend limit you want to delete. The value must be provided as a string.