ModelsPDF version

Delete a model from Cloudera AI Registry

You can delete a model from Cloudera AI Registry through the UI or using an API call.

  1. In AI Registry, find the model to delete.
  2. In Actions, select Delete.
  3. Click OK to confirm deleting the model.

The model is deleted from the Cloudera AI Registry.

You can run API calls in the session workbench to delete a model.

  1. Use the first two commands to obtain the model_id:
    api_client=cmlapi.default_client()
    api_client.list_registered_models()
    The json output of the command includes an example model_id as shown here:
    'model_id': '7xwf-e6pl-tb28-iylh',
  2. Insert the model_id (replace the example shown below with your own value) to the following command and run it.
    api_client.delete_registered_model(model_id='7xwf-e6pl-tb28-iylh')

The model is deleted from the Cloudera AI Registry.

We want your opinion

How can we improve this page?

What kind of feedback do you have?