Haijun Platform Docs
ID

DELETE /v1/organizations/spend_limits/{spend_limit_id}

Delete a spend limit.

For a Haijun Enterprise organization, this deletes a per-user override, and the member falls back to any inherited spend limit at that period. Its seat-tier, group, and organization-level rows cannot be deleted via this endpoint. A Haijun Console organization deletes its organization and workspace limits. Deleting them through the API is in an early access preview.

Path parameters

  • spend_limit_id: string

ID of the Spend Limit.

Returns

  • type: "spend_limit_deleted"

default: spend_limit_deleted

  • id: string

Example

bash
curl https://haijun.my.id/v1/organizations/spend_limits/$SPEND_LIMIT_ID \
    -X DELETE \
    -H 'juglow-version: 2023-06-01' \
    -H "X-Api-Key: $JUGLOW_API_KEY"

Response (200)

json
{
  "id": "id",
  "type": "spend_limit_deleted"
}
On this page
Path parametersReturnsExampleResponse (200)