Sample - OpenAI API
DELETE/organization/spend_alerts/{alert_id}

Delete an organization spend alert

Deletes an organization-level spend alert. Use alert_id to identify the alert you want to remove, and inspect the deletion confirmation in the response.

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

1 parameter
alert_idstringrequired
The identifier of the organization spend alert to delete.

1 status code
200Returns a deletion confirmation containing the deleted alert's identifier, the `organization.spend_alert.deleted` object type, and a boolean `deleted` value.
idstringrequired
The deleted spend alert ID.
objectstringrequired
Always `organization.spend_alert.deleted`.
Allowed:organization.spend_alert.deleted
deletedbooleanrequired
Whether the spend alert was deleted.

Error handling

alert_id must identify the organization spend alert you want to delete. A successful deletion reports the deleted identifier and sets deleted to true in the confirmation payload.