update_policy
Update a policy draft by providing only the fields to change. Use the expected version from a prior read to avoid conflicts; retry if a 409 conflict occurs.
Instructions
Update a policy draft. Read it first to get expectedVersion; on a 409 conflict, read again and retry. Pass only the fields you are changing (camelCase) in fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The policy's id. | |
| fields | Yes | The fields to change, as a JSON object (camelCase keys). | |
| expectedVersion | Yes | The version you last read — rejected with 409 if stale. |