Delete Candidate
Permanently deletes a candidate and everything associated with them. This is irreversible — see the warning on this page for the full list of what is destroyed.
Identify the candidate with exactly one of candidateId, candidateExternalId, or email. Supplying zero or more than one returns 400. All lookups are scoped to the company owning the API key, so you can never delete another company’s records.
candidateExternalId is not guaranteed unique — if several candidates in your company share one, every match is deleted and deletedCount reflects the total.
The response returns a snapshot of each deleted record. This is your only copy: once the call returns, the data is gone from Alex. Note that assets.cleanupSucceeded is false when the database records were removed but some stored files could not be — alert on it if you must guarantee media removal.
candidateId, candidateExternalId, or email. Supplying none — or more
than one — returns a 400.Scoping
Every lookup is scoped to the company that owns the API key. You cannot delete a candidate belonging to another company, and an identifier that exists elsewhere in Alex but not in your company returns404.
Duplicate external IDs
candidateExternalId is not required to be unique. If several candidates in your company share
one, all of them are deleted and deletedCount reports the total. Use candidateId when you
need to target exactly one record.
Confirming media was removed
Database records and stored files are deleted separately. If the records are removed but some files cannot be, the call still succeeds anddata.assets.cleanupSucceeded is false. If you
must guarantee that recordings and resumes are gone — for a data-retention or GDPR obligation, for
example — alert on that flag rather than on the HTTP status alone.Authorizations
Body
Supply exactly one identifier.
The Alex-side candidate ID, as returned by /candidates.
"clx8f2k1p0000abcd1234efgh"
The ATS-side candidate ID you supplied to /inviteCandidate.
"ATS-4471"
The candidate's email address. Matched case-insensitively within your company.
"candidate@example.com"
Response
Candidate deleted
true
"DELETED"
"Deleted 1 candidate record(s)."
Number of candidate records deleted. Greater than 1 only when a non-unique candidateExternalId matched several.
1