Delete Ad Account Spend Limit Window
POST
/ad_account/spend_limit_windows/{window_id}/deleteDelete an active or scheduled spend limit window before it ends. Available only for ad accounts on postpaid invoice billing.
No request body is required. You can delete active or upcoming limits, but not completed limits. Deletion takes effect on save and does not erase historical spend.
Delete Ad Account Spend Limit Window
curl https://api.ads.openai.com/v1/ad_account/spend_limit_windows/$WINDOW_ID/delete \
-X POST \
-H "Authorization: Bearer $OPENAI_ADS_API_KEY"200 — Example
{
"deleted": true,
"object": "object",
"window_id": "window_id"
}Returns Examples
200 — Example
{
"deleted": true,
"object": "object",
"window_id": "window_id"
}