Delete the user namespace including all data and metadata

This API allows the super admin with the master key to delete the entire user namespace, including all data and metadata. Input should be the namespace name to be deleted. This will start a background deletion job and provide you with a tracking id which can be used to track the status of the job.
METHOD: PUT
ROUTE: /super-admin/namespace/delete
Headers:
{
“Authorization”: “Bearer <MASTER_API_KEY>”
}
Request format:

{
"data": {
"namespace_to_be_deleted": "customer_ns_1"
}
}

Response structure:

{
"data": {
"tracking_id": "9f799cb6-5315-4199-8d47-3a7ced21dd1d29042024113301",
"status": "PENDING",
"job_type ": "namespace-deletion"
},
{
"data": {
"namespace_to_be_deleted": "customer_ns_1"
}
}
"success": true,
"error": {"message": ""}}

 

Updated on September 22, 2024
What are your feelings

© All Rights Reserved 2023 | Protecto