Update or archive a person or group
dm.update_identityUpdate one identity by id: display_name, aliases, notes, email (admin humans only; explicit null clears email or notes) and archive/reactivate (status with confirm=true after the user agrees). All requested fields apply together or not at all. expected_display_name guards against overwriting a concurrent rename. Requires the delegated human's OAuth grant and a workspace role that permits the change.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"identity_id": "<identity_id>"
},
"name": "dm.update_identity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Person only; needs a human who may manage members. Explicit null clears. | ||
| notes | No | Explicit null clears. | |
| status | No | archived or active (reactivate). Requires confirm=true. | |
| aliases | No | ||
| confirm | No | Must be true to archive or reactivate. | |
| identity_id | Yes | ||
| display_name | No | ||
| expected_display_name | No | Optimistic check: fail with expected_name_mismatch unless the current name matches. |