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
- 200
- 401
- 403
- 429
- 500
OK
Authentication required
Caller is not authorised
Rate limit exceeded — see Retry-After header
Internal server error