POST Cancel Candidate Deletion

This API cancels a previously scheduled candidate deletion by revoking the deletion request and restore the candidate's active status.

Important

Revoking the scheduled deletion is only possible within 7 days of the scheduled deletion.

Request URL

POST /candidate/deletion/cancel

Body Parameters

{
    "task_id": "string"
}

Warning

Make sure to add your API key in Header of the request.

Parameters

Parameter

Type

Description

task_id

string

The unique task ID returned when the candidate was scheduled for deletion.

Response

  • A JSON response confirming whether the scheduled deletion was successfully canceled.

{
    "success": true,
    "message": "Candidate deletion canceled successfully"
}

Error Responses

  • If the task ID is invalid or no scheduled deletion is found:

{
    "success": false,
    "error": "Invalid task ID or no deletion found"
}