Skip to content

Delete Rule Set Draft

Deletes the active draft for a rule set. If the rule set already has a published version, runtime stays on the published version. If the rule set only has its initial draft, the rule set is removed.

DELETE /v1/projects/:project_id/extractor-rule-sets/:id/draft
DELETE /v1/projects/:project_id/pricing-rule-sets/:id/draft
Terminal window
Authorization: Bearer <api-key>

Requires rules write access.

The request body is empty. There are no query parameters.

Field Required Description
project_id Yes Project that owns the rule set.
id Yes Stable rule set ID.
{
"deleted": true,
"version": 3
}