dflow apps:delete
Delete the application. The API records application.delete. The worker removes the Deployment and Service when a cluster client exists.
dflow apps:delete NAMEFlags
--confirm-name optional. --wait and --wait-timeout. Globals. --yes is not accepted.
What you see
The terminal prints the application name, then id and status of the operation. The typed line or --confirm-name must equal the stored application name. Exit 0 when the operation is succeeded, and 0 for --wait=false after 202.
When it fails
A non-terminal stdin without --confirm-name exits 1 before a request. A mismatch prints error: validation: refusing to delete app NAME; confirm the name and does not call DELETE. --wait-timeout below 1s or above 30m exits 1. Exit 1: usage or name mismatch. Exit 2: auth. Exit 3: not found. Exit 4: conflict. Exit 5: operation failed or cancelled. Exit 6 when that operation's error code is precondition or rate_limited. Exit 7: wait ended first. Exit 10: unreachable.
How is this guide?
Last updated on