Docs

API reference · Rulesets

Delete an unused ruleset against the reviewed revision

DELETE/v1/orgs/{org}/rules/{ruleset}
Permission
rules.rulesets.manage
Audit log
rules.ruleset.delete
Operation
rules.rulesets.delete

Parameters

NameInTypeRequiredNotes
orgpathstringyesfor example "org_01h455vb4pex5vsknk084sn02q"
rulesetpathstringyesfor example "rul_01h455vb4pex5vsknk084sn02q"
revisionquerystringyes1 to 100 characters
Idempotency-KeyheaderstringnoOne key per intended mutation. A retry with the key replays the recorded response instead of executing again; the key with another request answers 422 idempotency_key_reused. For example "01h455vb4pex5vsknk084sn02q"
x-obhut-management-assignmentheaderstringnoSelect one staff assignment. Direct membership remains the default. Bound API tokens use their stored source and ignore this selector. For example "masg_01h455vb4pex5vsknk084sn02q"

Response 204

No body.