Delete Spend Limit
api/admin/spend_limits/delete
Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
api/admin/spend_limits/delete Changed · +8 / -13 lines
# Delete Spend Limit ## Path parameters ## Returns ## Example ### Response (200) ## Delete Spend Limit ### Path Parameters ### Returns ### Example #### Response
---- -title: Delete Spend Limit -url: https://platform.claude.com/docs/en/api/admin/spend_limits/delete ---- +# Delete Spend Limit -## Delete Spend Limit +**DELETE** `/v1/organizations/spend_limits/{spend_limit_id}` -**delete** `/v1/organizations/spend_limits/{spend_limit_id}` - Delete a per-user spend limit override. The member falls back to any inherited spend limit at that period.
Seat-tier, group, and organization-level rows cannot be deleted via this endpoint. -### Path Parameters +## Path parameters - `spend_limit_id: string` ID of the Spend Limit. -### Returns +## Returns - `id: string` - `type: "spend_limit_deleted"` - - `"spend_limit_deleted"` + default: spend_limit_deleted -### Example +## Example -```http +```bash curl https://api.anthropic.com/v1/organizations/spend_limits/$SPEND_LIMIT_ID \ -X DELETE \ -H 'anthropic-version: 2023-06-01' \
-H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN" ``` -#### Response +### Response (200) ```json {