/users/tasks/\{task_id\}/status
GET/api/1.0/users/tasks/:task_id/status
Retrieves the status of a deletion task (user or enterprise).
This endpoint is public to allow checking status after user deletion.
Example Response (Success):
{
"status": "success",
"message": "Deletion completed successfully",
"result": {
"status": "success",
"message": "User deleted successfully. Enterprise Test Enterprise (ID: 123) "
"was also deleted as it had no remaining users.",
"user": "...",
"enterprise_deleted": true
}
}
Example Response (Processing):
{
"status": "processing",
"message": "Deletion task is still processing"
}
Request
Responses
- 200
- 400
- 404
OK
Bad Request
Not Found