Use this API to get the status of the data deletion process for a user.
This API may take a few seconds to return a response depending on the dataset size.
Endpoint
POST https://api.velt.dev/v1/users/data/delete/status
Body
Params
The job Id of the data deletion process.
Example Request
{
"data": {
"jobId": "yourJobId"
}
}
Response
Success Response
{
"result": {
"status": "success",
"message": "Data fetched successfully.",
"data": {
"isDeleteCompleted": true,
"tasksLeft": 0,
"lastTaskCompletedTime": 1748972106739
}
}
}
Failure Response
{
"error": {
"message": "ERROR_MESSAGE",
"status": "INVALID_ARGUMENT",
"code": 500
}
}
{
"result": {
"status": "success",
"message": "Data fetched successfully.",
"data": {
"isDeleteCompleted": true,
"tasksLeft": 0,
"lastTaskCompletedTime": 1748972106739
}
}
}