---
title: "Delete a rule from the draft"
method: DELETE
path: "/resources/api/agent/amlResolutionRules/draft/rules/{id}"
tags: ["AmlResolutionRulesApiAgentResource"]
---

# Delete a rule from the draft

`DELETE /resources/api/agent/amlResolutionRules/draft/rules/{id}`

Removes a single rule from the draft by id. Idempotent: deleting a rule that is not in the draft leaves it unchanged and still succeeds. Responds with 404 when no draft exists. The response is the full draft with freshly recomputed `notices`. Rules are deleted one at a time; there is no bulk delete.

## Path parameters

- `id` string, required

## Response `default`

default response

- AmlScreeningRulesRevision — A revision of the AML screening rule chain.
  - `archived` AmlScreeningRulesActionTrail — Records who performed an action on the revision, and when.
    - `clientSubject` string — Name of the user who performed the action.
    - `date` string, date-time — When the action occurred.
  - `created` AmlScreeningRulesActionTrail — Records who performed an action on the revision, and when.
    - `clientSubject` string — Name of the user who performed the action.
    - `date` string, date-time — When the action occurred.
  - `id` string
  - `modified` AmlScreeningRulesActionTrail — Records who performed an action on the revision, and when.
    - `clientSubject` string — Name of the user who performed the action.
    - `date` string, date-time — When the action occurred.
  - `notices` AmlRuleNoticePublicDto[] — Validation findings for this revision. Publishing requires no error-level notices.
    - `message` string — Message key identifying the finding.
    - `messageParams` object — Parameters of the message, keyed by parameter name.
    - `ruleId` string — Id of the rule the finding refers to, when applicable.
    - `severity` string — Severity of the finding.
  - `published` AmlScreeningRulesActionTrail — Records who performed an action on the revision, and when.
    - `clientSubject` string — Name of the user who performed the action.
    - `date` string, date-time — When the action occurred.
  - `revision` integer — Revision number; increases with each new revision.
  - `revisionStatus` string — Current status of this revision.
  - `rules` AmlRulePublicDto[] — The AML screening rules, in evaluation order.
    - `condition` Condition
      - `astId` integer
      - `negate` boolean
      - `or` And[]
        - `and` Criterion[]
          - `args` Arg[]
            - `astId` integer
            - `exp` string
            - `lit` string
          - `astId` integer
          - `op` string
        - `astId` integer
        - `negate` boolean
        - `score` integer
    - `description` string — Free-form description of what the rule does.
    - `id` string — Id of the rule, unique within the rule chain. Omit to create a new rule: the server assigns the id and returns it in the response. Provide an existing id to update that rule.
    - `name` string, required — Display name of the rule.
    - `review` AmlRuleReviewActionPublicDto — Automatic review action applied to AML hits matched by the rule.
      - `expression` string — Condition expression guarding the review action: the action is applied only when it evaluates to true.
      - `matchStatus` Arg
        - `astId` integer
        - `exp` string
        - `lit` string
      - `note` Arg
        - `astId` integer
        - `exp` string
        - `lit` string
      - `riskLevel` Arg
        - `astId` integer
        - `exp` string
        - `lit` string
      - `whitelisted` Arg
        - `astId` integer
        - `exp` string
        - `lit` string
    - `tags` AmlRuleTagActionPublicDto — Tagging action applied to applicants whose AML hits match the rule.
      - `tags` string[] — Applicant tags to add when the rule matches.

---

[API](https://skmtc.net/sumsub/apis/sumsub-api-service.md) · [All operations](https://skmtc.net/sumsub/apis/sumsub-api-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sumsub/sumsub-api-service/versions/cd1cf0bbd4f9/schema)
