Skip to main content

cancelWPCLICommand

Stop a running WP-CLI command

cancelWPCLICommand(
input: CancelWPCLICommandInput
): CancelWPCLICommandPayload!

Example

mutation ($input: CancelWPCLICommandInput) {
cancelWPCLICommand(input: $input) {
command {
command
createdAt
endedAt
environmentId
guid
id
startedAt
status
userId
}
}
}

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