package push-upgrade abort
Abort a package push upgrade that has been scheduled. Only push upgrade requests with a status of Created or Pending can be aborted.
Specify the request ID that you want to abort. If applicable, the command displays errors related to the request.
To show all requests in the org, run “sf package pushupgrade list –package 033…”.
| Flag Name (Long) | Flag Name (Short) | Description |
|---|---|---|
‑‑api‑version | N/A | Type: Value Override the api version used for api requests made by this command |
‑‑flags‑dir | N/A | Type: Value Import flag values from a directory. |
‑‑json | N/A | Type: Boolean Format output as json. |
‑‑push‑request‑id | ‑i | Type: Value Required ID of the package push request (starts with 0DV). This ID is returned after the package push-upgrade schedule command completes successfully. |
‑‑target‑dev‑hub | ‑v | Type: Value Required Username or alias of the Dev Hub org. Not required if the target-dev-hub configuration variable is already set. |
Cancel the specified package push upgrade request with the specified ID; uses your default Dev Hub org:
Cancel the specified package push upgrade request in the Dev Hub org with username devhub@example.com: