tascan_update_worker
Update a worker profile (name, phone, email, actor_kind), or deactivate / reactivate the worker (active false / true with an optional reason: receipted as a ledger event first, never a delete; a merged record is never reactivated). Changing actor_kind to or from agent or admin is refused for every key: only an org owner or admin, signed in to the portal, can do that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name | |
| No | New email | ||
| phone | No | New phone | |
| active | No | SR-API3: false deactivates the worker, true reactivates it (receipted) | |
| reason | No | Why (recorded with an active change; at most 500 characters) | |
| worker_id | Yes | Worker ID | |
| actor_kind | No | What this worker row stands for (to or from agent / admin: owner or admin session only) |