Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Delete a serverless endpoint

Focus mode
Delete a serverless endpoint - Amazon SageMaker AI

You can delete your serverless endpoint using the SageMaker AI console, the DeleteEndpoint API, or the AWS CLI. The following examples show you how to delete your endpoint through the API and the SageMaker AI console.

To delete an endpoint (using API)

The following example uses the AWS SDK for Python (Boto3) to call the DeleteEndpoint API. For EndpointName, use the name of the serverless endpoint you want to delete.

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

To delete an endpoint (using the console)

  1. Sign in to the Amazon SageMaker AI console.

  2. In the navigation tab, choose Inference.

  3. Next, choose Endpoints.

  4. From the list of endpoints, select the endpoint you want to delete.

  5. Choose the Actions drop-down list, and then choose Delete.

  6. When prompted again, choose Delete.

Your endpoint should now begin the deletion process.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.