> ## Documentation Index
> Fetch the complete documentation index at: https://docs.alex.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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.

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 `true` once the background deletion of stored files has started and `false` if it could not be started (the database records are deleted either way) — alert on it if you must guarantee media removal.

> [!WARNING]
>
> **This action is irreversible.** Deleting a candidate permanently destroys, with no undo and no
> way for Alex support to recover it:
>
> * the candidate record and all of their contact details
> * every interview session and application belonging to them
> * all interview transcripts, scores, feedback, and generated reports
> * their stored resume file
> * all interview recordings — audio and video
>
> There is no soft delete, no trash, and no recovery window. Once the call returns, the data is
> gone. Use the snapshot in the response as your own record of what was removed.

> [!NOTE]
>
> Identify the candidate with **exactly one** of `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 returns `404`.

## Confirming media was removed

Database records are deleted during the call. Stored files (recordings, reports and resumes) are then
deleted by a background job that retries until they are gone. `data.assets.cleanupSucceeded` is
`true` once that job has started, and `false` if it could not be started; the records are deleted
either way. 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.


## API Specification

The full API specification for this endpoint is available in the [documentation index](https://docs.alex.com/llms.txt).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.