Track the status of the background namespace deletion job

This API allows you to track the status of a background job after the Namespace is deleted. You need to provide the tracking ID as input. The API will return details such as who requested the job, the time of the request, the job end time, the job status, the job type, any error messages if the status is FAILED, and the response if the status is SUCCESS. If the status is IN-PROGRESS or PENDING, the response and error message will be null. The status can be SUCCESS, IN-PROGRESS, PENDING, or FAILED.
METHOD: GET
ROUTE: /super-admin/namespace/job-status
Headers:
{
“Authorization”: “Bearer <MASTER_API_KEY>”
}
Query params:

tracking_id : “9f799cb6-5315-4199-8d47-3a7ced21dd1d29042024113301”

Response structure:

{
"data": { "tracking_id": "9f799cb6-5315-4199-8d47-3a7ced21dd1d29042024113301",
"requested_user": "user1@email.com ",
"requested_timestamp": "2024-05-28 18:23:42",
"process_start_time": "2024-05-28 18:23:41" ,
"process_end_time": "2024-05-28 18:23:45" ,
"job_type ": "namespace-deletion",
"response": {
"message": "Namespace customer_ns_1 deleted successfully."
},
"error_message": "null"
"status": "SUCCESS",
},
"success": true,
"error": {"message": ""}}

 

Updated on January 23, 2025
What are your feelings

© All Rights Reserved 2023 | Protecto