Delete (cancel) a request.
Requires (min.): SA Operations API 1.1.0
Following Success Message can be returned by this command:
SACLI003200 - {Action} request on {ResourceName} from source {Source} has been deleted
Usage
zowe system-automation delete request [options]
Options
-
--id
(string)
-
--name
(string)
- The name of the resource on which a request with this source is placed. It is possible to use the syntax <NAME>/<TYPE>/<SYSTEM>.
-
--type
(string)
-
The type of the resource on which a request with this source is placed
Allowed values: APL, APG, SYS, MTR, GRP, SYG, DMN, REF
-
--system
(string)
- The system hosting the resource on which a request with this source is placed
-
--source
(string)
-
--userid
(string)
- The user ID of the request that has to be deleted
Profile Options
Base Connection Options
-
--host
| -H
(string)
- Host name of service on the mainframe.
-
--port
| -P
(number)
- Port number of service on the mainframe.
-
--user
| -u
(string)
- User name to authenticate to service on the mainframe.
-
--password
| --pass
| --pw
(string)
- Password to authenticate to service on the mainframe.
-
--reject-unauthorized
| --ru
(boolean)
-
--token-type
| --tt
(string)
- The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'.
-
--token-value
| --tv
(string)
- The value of the token to pass to the API.
-
--cert-file
(local file path)
- The file path to a certificate file to use for authentication
-
--cert-key-file
(local file path)
- The file path to a certificate key file to use for authentication
Examples
-
Delete the request from source INGAPI on resource with name <RESOURCE_NAME>. It is possible to use the syntax <NAME>/<TYPE>/<SYSTEM>:
zowe system-automation delete request --name=RESOURCE_NAME
-
Delete the request from source INGAPI on resource specifying name, type and system:
zowe system-automation delete request --name=RESOURCE_NAME --type=RESOURCE_TYPE --system=RESOURCE_SYSTEM
-
Deletes the request with <REQ_ID>. Use the ID that is displayed in "zowe sa list requests --showid":
zowe system-automation delete request --id=REQ_ID