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.
Description for package push-upgrade abort
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…”.
Flags
| 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. |
Examples for package push-upgrade abort
Cancel the specified package push upgrade request with the specified ID; uses your default Dev Hub org:
1sf package push-upgrade abort --push-request-id 0DV...
Cancel the specified package push upgrade request in the Dev Hub org with username devhub@example.com:
1sf package push-upgrade abort --push-request-id 0DV... --target-dev-hub devhub@example.com