Archive a worker
archive_workerSoft-delete a worker: it can no longer claim or lease tasks, disappears from list_client_team and whoami by default, and stops counting against your organization's worker quota. All history — past task assignments, receipts, transparency-log entries — remains intact and queryable. Reversible with unarchive_worker.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Why this worker is being retired. | |
| worker_id | Yes |