> ## Documentation Index
> Fetch the complete documentation index at: https://docs.talaria.chat/llms.txt
> Use this file to discover all available pages before exploring further.

# Set delivery policy links

> Associate public policy identifiers with a DID.

Associate public policy identifiers with a DID.

## Request

<ParamField path="did" type="string" required>
  The DID to update.
</ParamField>

<ParamField body="did" type="string" required>
  The DID to update. It must match the path.
</ParamField>

<ParamField body="delivery_policy_links" type="object">
  Recipient, tag, and persona policy identifiers.
</ParamField>

<ParamField body="recipient_policy" type="string">
  A recipient policy identifier accepted at the top level for compatibility.
</ParamField>

<ParamField body="tag_policies" type="string[]">
  Tag policy identifiers accepted at the top level for compatibility.
</ParamField>

<ParamField body="persona_policies" type="string[]">
  Persona policy identifiers accepted at the top level for compatibility.
</ParamField>

<RequestExample>
  ```bash Request theme={null}
  curl --request PUT \
    --url "https://directory.example.com/dids/did%3Atalaria%3A1111111111111111111111/delivery-policy-links" \
    --header "Content-Type: application/json" \
    --data '{
    "did": "did:talaria:1111111111111111111111",
    "delivery_policy_links": {
      "recipient_policy": "did:talaria:recipient-policy",
      "tag_policies": [],
      "persona_policies": []
    }
  }'
  ```
</RequestExample>

## Response

<ResponseField name="status" type="string" required>
  The submission status.
</ResponseField>

<ResponseField name="did" type="string" required>
  The DID affected by the request.
</ResponseField>

<ResponseField name="extrinsic" type="string" required>
  The public operation name.
</ResponseField>

<ResponseField name="tx_hash" type="string" required>
  The submitted transaction hash.
</ResponseField>

<ResponseField name="message" type="string" required>
  A human-readable submission result.
</ResponseField>

<ResponseExample>
  ```json 202 Response theme={null}
  {
    "status": "accepted",
    "did": "did:talaria:1111111111111111111111",
    "extrinsic": "set_delivery_policy_links",
    "tx_hash": "<transaction-hash>",
    "message": "Chain extrinsic submitted"
  }
  ```
</ResponseExample>

<Note>
  `202 Accepted` means the Directory accepted the request for processing. It does not confirm final settlement.
</Note>
