terminate
--yes to skip the prompt. When stdin is not a terminal, --yes is required.
Options
TEXT
ID of the deployment.Mutually exclusive with other flags in group
deployment-ref.TEXT
Name of the deployment.Mutually exclusive with other flags in group
deployment-ref.TEXT
Filter JSON output with a jq expression; implies —output json (or jsonl for streamed commands)
TEXT
ID of the model.Mutually exclusive with other flags in group
model-ref.TEXT
Name of the model. Use —team to disambiguate when the same name exists in multiple teams.Mutually exclusive with other flags in group
model-ref.TEXT
default:"text"
Output formatOne of:
text, json, jsonl, noneTEXT
Use a specific stored profile for this command, overriding BASETEN_PROFILE and the current profile
TEXT
required
ID of the replica.
TEXT
Team name or ID. Only valid with —model-name.
BOOL
Skip the interactive confirmation prompt. Required when stdin is not a terminal.
BOOL
Enable verbose logging
Examples
Terminate a replica without the confirmation promptFilter output with --jq
Print just the success flag
Output
Text mode (--output text): On success, prints “Terminated replica id of deployment id” to stderr; no stdout output.
JSON mode (--output json): payload type managementapi.TerminateReplicaResponse.