Spend alerts

Delete project spend alert

Changed on

Deletes a project spend alert.

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

Request

  • Base URL
    https://api.openai.com/v1
  • URL
    https://api.openai.com/v1/organization/projects/{project_id}/spend_alerts/{alert_id}
  • Auth
    HTTP bearer

Path parameters

project_idstring required

The ID of the project to update.

alert_idstring required

The ID of the spend alert to delete.

Response

Project spend alert deleted successfully.

idstring required

The deleted spend alert ID.

object'project.spend_alert.deleted' required

Always project.spend_alert.deleted.

deletedboolean required

Whether the spend alert was deleted.

Changes

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status