Skip to main content

Delete a potential candidate

Permanently delete a sourced lead. Scope: sourcing:write.

DELETE/api/v1/sourcing/{id} 🔒 API key

Permanently deletes a potential candidate. The delete cascades to its role and organization links. Scope: sourcing:write. Requires employer-write authority in one of the lead’s organizations (admins bypass). A role-activity audit entry is recorded for each active role before deletion.

Path parameters

ParameterTypeDescription
idstringThe potential-candidate id.

Example request

curl -X DELETE https://app.talent-ray.com/api/v1/sourcing/pc_1 \
  -H "Authorization: Bearer tr_YOUR_KEY"

Response

204 No Content — the lead and its links were deleted.

Status codes

StatusMeaning
204Deleted.
401No valid API key.
403insufficient_scope (missing sourcing:write) or forbidden (no write authority in the lead’s org).
404Not found, or not visible to the key.
429Rate limit exceeded.