Deployments
Terminate deployment
Soft-delete a deployment. The deployment enters terminating status and is cleaned up asynchronously.
POST
Python
Authorizations
Modular Cloud API token. Obtain from the API Tokens page.
Path Parameters
Deployment name.
Response
200 - application/json
Deployment scheduled for termination.
Deployment name (the URL-safe slug).
Unique deployment identifier.
Model identifier.
Current lifecycle status of a deployment.
Available options:
unknown, non-deployed, deploying, running, unhealthy, failed, updating, scaling, terminating, terminated, image-building, image-build-failed, model-seed-failed, image-build-succeeded, scaled-to-zero, scaling-up, scaling-down Inference endpoint URL. Null until the deployment is running.
Python