Update command .

PATCH

Request

/commands/{command_id}

Body

{
    "status":"cancelled"
}

Attributes

Field Required Accepted Description
status no cancelled Cancel a command that is still processable

Fail codes

Code Status Description
command_can_not_be_cancelled 422 The command is either complete, abandoned or cancelled

Stay in the loop..

Sign up to our newsletter to keep up-to-date.