Skip to main content
DELETE
Delete a repository's Review billing rule
Removes a repository billing rule, so that future Devin Review usage on that repository goes back to normal billing attribution. Get the rule_id from List repository billing rules or from the response of Set a repository billing rule.

Permissions

Requires a service user or personal access token with the ManageReview permission in the organization. The caller can manage rules only for repositories delegated to that organization, and can bill only to that organization or a budget it manages.

Behavior

  • Returns 204 with no body on success, and 404 when no rule with that ID exists in this scope.
  • Usage already charged under the rule is not moved.

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Path Parameters

rule_id
string
required
Pattern: ^review-billing-rule-[0-9a-f]{32}$
org_id
string
required

Organization ID (prefix: org-)

Example:

"org-abc123def456"

Response

Successful Response