Skip to content

Delete Model

sagemaker_delete_model R Documentation

Deletes a model

Description

Deletes a model. The delete_model API deletes only the model entry that was created in SageMaker when you called the create_model API. It does not delete model artifacts, inference code, or the IAM role that you specified when creating the model.

Usage

sagemaker_delete_model(ModelName)

Arguments

ModelName

[required] The name of the model to delete.

Value

An empty list.

Request syntax

svc$delete_model(
  ModelName = "string"
)