Skip to content
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation
Theme

Delete organization spend alert

DELETE
/organization/spend_alerts/{alert_id}

Deletes an organization spend alert.

Path Parameters
alert_id: string

The ID of the spend alert to delete.

Returns
OrganizationSpendAlertDeleted object { id, deleted, object }

Confirmation payload returned after deleting an organization spend alert.

id: string

The deleted spend alert ID.

deleted: boolean

Whether the spend alert was deleted.

object: "organization.spend_alert.deleted"

Always organization.spend_alert.deleted.

Delete organization spend alert

curl -X DELETE https://api.openai.com/v1/organization/spend_alerts/alert_abc123 \
  -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \
  -H "Content-Type: application/json"
Response example
{
    "id": "alert_abc123",
    "object": "organization.spend_alert.deleted",
    "deleted": true
}
Returns Examples
Response example
{
    "id": "alert_abc123",
    "object": "organization.spend_alert.deleted",
    "deleted": true
}