---
title: "PUT /allowlist_rules_delivery/{id}/"
method: PUT
path: "/allowlist_rules_delivery/{id}/"
tags: ["WhitelistRuleDelivery"]
---

# PUT /allowlist_rules_delivery/{id}/

`PUT /allowlist_rules_delivery/{id}/`

## Path parameters

- `id` integer, required

## Request body

- WhitelistRuleDelivery
  - `admin_id` integer
  - `argument` string
  - `check_type` 'attachhash' | 'rcpt_to' | 's_addr_spf' | 'spear_phishing' | 'recipient_count' | 'decoded' | 'location' | 's_hostname' | 's_addr' | 'attachtype' | 'attachmagic' | 'helo' | 'sensitive_data' | 's_ip' | 'url' | 'attachname' | 'language' | 'message_type' | 'body' | 'header'
  - `domain` string
  - `domain_id` integer
  - `id` integer
  - `name` string
  - `priority` integer
  - `rule` string
  - `store_view` string

## Response `200`

Success

- object
  - `message` string
  - `num_results` integer
  - `status` integer

## Other responses

- `403` — Invalid or missing credentials

---

[API](https://skmtc.net/n-able/apis/mail-api.md) · [All operations](https://skmtc.net/n-able/apis/mail-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/n-able/mail-api/revisions/ddcf07469cce/schema)
