Skip to main content

Function: requestCandidateErasure()

requestCandidateErasure(_prev, formData): Promise<RecruitingState>

Defined in: src/server/actions/recruiting.ts:1097

Fulfill a candidate erasure request (RA 10173): log a data_subject_requests row, then soft-delete the candidate (the retention-purge cron hard-deletes it + Storage objects on the window). Hired candidates are retained as contractors and must be erased via offboarding instead.

Parameters​

_prev​

RecruitingState

formData​

FormData

Returns​

Promise<RecruitingState>