Forgejo API
DELETE/admin/quota/rules/{quotarule}

Delete a quota rule

Deletes an existing quota rule identified by quotarule. Use this operation when you no longer need the rule and want to remove it from the quota configuration. A successful response contains no body.

1 parameter
quotarulestringrequired
The unique identifier of the quota rule to delete.

4 status codes
204Returns no content after the quota rule has been deleted.
400Returned when the request is malformed or cannot be processed.
messagestringoptional
urlstringoptional
403Returned when the authenticated user is not permitted to delete quota rules.
messagestringoptional
urlstringoptional
404Returned when no quota rule exists with the given `quotarule`.
errorsarray<string>optional
messagestringoptional
urlstringoptional

Error handling

A 400 is returned when the request is malformed, a 403 when the authenticated user is not permitted to delete quota rules, and a 404 when quotarule does not identify an existing rule. quotarule must identify the quota rule you intend to remove.