Skip to contents

Deletes a model version.

Deletes a model version from the specified registered model. Any aliases assigned to the model version will also be deleted.

Usage

delete_model_version(client, full_name, version)

modelRegistryDeleteModelVersion(client, name, version)

delete_model_version(client, full_name, version)

modelVersionsDelete(client, full_name, version)

Arguments

client

Required. Instance of DatabricksClient()

full_name

Required. The three-level (fully qualified) name of the model version.

version

Required. The integer version number of the model version.

name

Required. Name of the registered model.

Details

The caller must be a metastore admin or an owner of the parent registered model. For the latter case, the caller must also be the owner or have the USE_CATALOG privilege on the parent catalog and the USE_SCHEMA privilege on the parent schema.