> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wistx.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Budget

> Delete an infrastructure budget

> Delete an infrastructure budget

<CodeGroup>
  ```bash cURL theme={null}
  curl --request DELETE \
    --url https://api.wistx.ai/v1/budgets/bud_abc123 \
    --header 'Authorization: Bearer YOUR_API_KEY'
  ```

  ```python Python theme={null}
  # See create-budget.mdx for full Python example
  ```

  ```javascript JavaScript theme={null}
  # See create-budget.mdx for full JavaScript example
  ```

  ```go Go theme={null}
  # See create-budget.mdx for full Go example
  ```

  ```ruby Ruby theme={null}
  # See create-budget.mdx for full Ruby example
  ```

  ```php PHP theme={null}
  # See create-budget.mdx for full PHP example
  ```

  ```java Java theme={null}
  # See create-budget.mdx for full Java example
  ```
</CodeGroup>

## Response

<ResponseExample>
  ```json 204 Success theme={null}
  {
    "budget_id": "bud_abc123",
    "name": "Production Budget",
    "status": "active"
  }
  ```

  ```json 400 Bad Request theme={null}
  {
    "error": {
      "code": "VALIDATION_ERROR",
      "message": "Invalid request parameters"
    }
  }
  ```

  ```json 401 Unauthorized theme={null}
  {
    "detail": "User ID not found in authentication token"
  }
  ```

  ```json 500 Internal Server Error theme={null}
  {
    "error": {
      "code": "INTERNAL_ERROR",
      "message": "Failed to process request"
    }
  }
  ```
</ResponseExample>

## Related Endpoints

* [Create Budget](/api-reference/budget/create-budget) - Create a new budget
* [List Budgets](/api-reference/budget/list-budgets) - List all budgets


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.