Delete Project#

You can delete a project through the NeMo Entity Store microservice.

Warning

Deleting a project does not delete the entities associated with the project.

Prerequisites#

Before you can delete a project, 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 namespace and project_name of the project you want to delete.


How to Delete a Project#

API#

  1. Make a DELETE request to the /v1/projects/{namespace}/{project_name} endpoint.

    export ENTITY_STORE_HOSTNAME=<URL for NeMo Entity Store>
    export NAMESPACE="docs"
    export PROJECT_NAME="Documentation Test Project"
    
    curl -X DELETE "${ENTITY_STORE_BASE_URL}/v1/projects/${NAMESPACE}/${ENCODED_PROJECT_NAME}" \
        -H 'Accept: application/json' \
        -H 'Content-Type: application/json' | jq
    
  2. Verify that the project was deleted by reviewing the response.

    Example Response
    {
      "message": "Resource deleted successfully.",
      "id": "project-RM4tayGfUwA1aqu5NfTDA1",
      "deleted_at": null
    }