policy
Add correspondent policy rule
Add one allow/block rule for a direction of a scope's policy. Inbox-scoped keys are rejected. A pod-scoped key may mutate its own pod or an inbox in that pod, never account-wide policy. Pod keys cannot add allows on a parent allowlist (blocks are fine).
post/v1/policy/rules
Request
- Base URL: https://api.openmail.sh
- URL: https://api.openmail.sh/v1/policy/rules
- Auth: HTTP bearer
Query parameters
podIdstring
Confine the operation to one pod's policy. Accepts the pod ID. Mutually exclusive with inboxId.
inboxIdstring
Confine the operation to one inbox's policy. Mutually exclusive with podId.
Request body
Response
Rule created
object required
Rule created
Changes
No recorded changes to this operation across all 1 revision of this API.