Skip to main content

Restore soft-deleted worker

POST 

/openapi/v1/workers/:workerId/restore

Clears the removed flag (sets status.removed = false) so the worker reappears in list and search results with every preserved aspect intact. The inverse of DELETE. Find restore candidates with GET /workers?deletedOnly=true. Idempotent — restoring a worker who is not deleted is a no-op. The worker comes back INACTIVE (the delete paused scanning); PATCH isActive: true to resume scheduled verification. Other side effects of the original delete (cancelled fetch requests, resolved review tasks) are not undone; re-request anything still needed after restoring.

Request​

Responses​

OK