cancelWPCLICommand
Stop a running WP-CLI command
cancelWPCLICommand(
input: CancelWPCLICommandInput
): CancelWPCLICommandPayload!
Example
- Query
- Variables
- Response
mutation ($input: CancelWPCLICommandInput) {
cancelWPCLICommand(input: $input) {
command {
command
createdAt
endedAt
environmentId
guid
id
startedAt
status
userId
}
}
}
{
"input": {
"guid": "guid"
}
}
{
"data": {
"cancelWPCLICommand": {
"command": {
"command": "command",
"createdAt": "createdAt",
"endedAt": "endedAt",
"environmentId": 42,
"guid": "guid",
"id": 42,
"startedAt": "startedAt",
"status": "status",
"userId": 42
}
}
}
}
Arguments
cancelWPCLICommand.input ● CancelWPCLICommandInput input common
The GUID of the command to cancel.
Type
CancelWPCLICommandPayload object common
Response from the Cancel WP-CLI Command mutation