DELETE/organization/projects/{project_id}/spend_alerts/{alert_id}

Delete a project spend alert

Deletes a spend alert from a project. Use the project and alert identifiers to select the alert to remove, then check the deletion confirmation in the response.

2 parameters
project_idstringrequired
The ID of the project containing the spend alert.
alert_idstringrequired
The ID of the spend alert to delete.

4 status codes
200Returns a deletion confirmation containing the deleted alert ID, the object type `project.spend_alert.deleted`, and a `deleted` flag.
idstringrequired
The deleted spend alert ID.
objectstringrequired
Always `project.spend_alert.deleted`.
Allowed:project.spend_alert.deleted
deletedbooleanrequired
Whether the spend alert was deleted.
400Returned when the project ID is invalid.
errorobjectrequired
403Returned when the caller does not have permission to delete project spend alerts.
errorobjectrequired
Details about the permission error.
404Returned when the project or spend alert is not found.
errorobjectrequired

Error handling

A 400 is returned when the project ID is invalid; a 403 when the authenticated user lacks permission; and a 404 when the project or spend alert is not found. The project_id path parameter and alert_id path parameter must identify the project and alert to delete.