NetBird Full API Reference + Read-Only MCP Prototype
DELETE/api/agent-network/budget-rules/{ruleId}

Delete an Agent Network budget rule

Deletes an account-level budget rule identified by its unique ID. Use this operation to remove a rule that should no longer apply to its configured groups, users, or account-wide scope.

1 parameter
ruleIdstringrequired
The unique identifier of the budget rule to delete.

6 status codes
200Returns a confirmation that the budget rule was deleted.
400Returned when the request is malformed or invalid.
401Returned when authentication is missing or invalid.
403Returned when the authenticated user is not permitted to delete the budget rule.
404Returned when the budget rule does not exist.
500Returned when an internal server error occurs.

Error handling

A 400 is returned when the request is malformed or invalid. A 401 is returned when authentication is missing or invalid; a 403 is returned when access is forbidden; a 404 is returned when the ruleId path parameter does not identify an existing budget rule; a 500 is returned for an internal server error.