

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# サーバーレスエンドポイントを削除する
<a name="serverless-endpoints-delete"></a>

[SageMaker AI コンソール](https://console.aws.amazon.com/sagemaker/home)、[DeleteEndpoint](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DeleteEndpoint.html) API、または AWS CLIを使用して、サーバーレスエンドポイントを削除できます。以下の例は、API と SageMaker AI コンソールを使用してエンドポイントを削除する方法を示しています。

## エンドポイントを削除するには (API を使用)
<a name="serverless-endpoints-delete-api"></a>

次の例では、[AWS SDK for Python (Boto3)](https://boto3.amazonaws.com/v1/documentation/api/latest/index.html) を使用して [DeleteEndpoint](https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_DeleteEndpoint.html) API を呼び出します。`EndpointName` には、削除するサーバーレスエンドポイントの名前を使用します。

```
response = client.delete_endpoint(
    EndpointName="<your-endpoint-name>",
)
```

## エンドポイントを削除するには (コンソールを使用)
<a name="serverless-endpoints-delete-console"></a>

1. [Amazon SageMaker AI コンソール](https://console.aws.amazon.com/sagemaker/home)にサインインします。

1. [ナビゲーション] タブで、**[Inference]** (推論) を選択します。

1. 次に **[Endpoints]** (エンドポイント) を選択します。

1. エンドポイントのリストから、削除するエンドポイントを選択します。

1. **[Actions]** (アクション) ドロップダウンリストを選択してから、**[Delete]** (削除) を選択します。

1. プロンプトが表示されたら、**[Delete]** (削除) を選択します。

エンドポイントの削除プロセスが開始します。