y.
Arguments
Flags
Skip the confirmation prompt. Required when there’s no terminal. The organization check described below still happens.
Examples
Confirmation
The CLI first looks up the service, then shows its name and ID and asks you to type the ID:DECLINED (exit 2) and nothing is deleted.
Typing the ID confirms you have the right service, not just that you meant to press a key. With an irreversible action, the bigger risk is looking at the wrong resource.
There is no dry-run mode and no waiting period. Typing the ID is the safeguard.
Output
--json:
deleting status. accepted: true means the API took the request, not that the service is already gone.
Behavior
- The service is always read first, even with
--yes. This gets the name for the prompt, and makes sure the service is in the effective organization. An API key can sometimes reach services in several organizations, and--yesmust never become a way to delete outside the one you’re working in. - A service in another organization is reported as
CLUSTER_NOT_FOUND, the same as one that doesn’t exist, and nothing is deleted. - If the API returns the service without an organization, the CLI refuses with
ORGANIZATION_SCOPE_UNVERIFIABLErather than guessing.
If the result is unknown
If the delete request was sent but no response came back, the service may or may not have been deleted. The CLI never retries. It fails withUNKNOWN_MUTATION_OUTCOME and asks you to run sabaoth postgres get <service-id> to check.