Skip to main content
Create or replace the policy for an active Persona with one active Persona-controller signature. Persona v1 fixes controller_threshold at 1; multi-signature threshold authorization is reserved for a future contract. The policy scope.id is the canonical DNS Persona, not a DID. Rules can narrow the Persona’s constraints and match a tag, recipient DID, or both.

Request

string
required
The registered Persona. It must equal policy.scope.id after normalization.
string
required
Deterministic 32-byte policy identifier encoded as 0x plus 64 hexadecimal characters.

Response

202 Response

Straight to the point

  • Persona must be active
  • Action: set_persona_policy_v2
  • Revision: 1 on creation, otherwise finalized revision plus one
  • Authorization: one active Persona controller in Persona v1
  • Complete create or replacement
  • Invalid graph, incompatible service, or non-public route endpoint: 400 invalid_delivery_policy
  • Accepted submission: 202