Delete Namespace#
You can delete a namespace if you no longer need it through the NeMo Entity Store microservice.
Warning
Deleting a namespace does not delete the entities associated with the namespace.
Prerequisites#
Before you can delete a namespace, make sure that you have:
Obtained the base URL of your NeMo Entity Store Microservice.
Permissions to access the NeMo Entity Store microservice endpoint.
Obtained the
id
of the namespace you want to delete.
How to Delete a Namespace#
API#
Make a DELETE request to the
/v1/namespaces/{id}
endpoint. The following example deletes theteam-docs
namespace.export ENTITY_STORE_BASE_URL=<URL for NeMo Entity Store> export NAMESPACE_ID="team-docs" curl -X DELETE "${ENTITY_STORE_BASE_URL}/v1/namespaces/${NAMESPACE_ID}" \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' | jq
Verify that the namespace was deleted by reviewing the response.
Example Response
{ "message": "Resource deleted successfully.", "id": "team-docs", "deleted_at": "2025-02-12T19:10:57.932488" }