POST
/
v1
/
projects
/
{project}
/
rollouts
/
{rollout}
/
stages
/
{stage}
/
tasks
/
{task}
/
taskRuns:batchCancel
{}

Path Parameters

project
string
required

The project id.

rollout
string
required

The rollout id.

stage
string
required

The stage id.

task
string
required

The task id.

Body

application/json
parent
string

The name of the parent of the taskRuns. Format: projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task} Use projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/- to cancel task runs under the same stage.

taskRuns
string[]

The taskRuns to cancel. Format: projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}/taskRuns/{taskRun}

reason
string

Response

OK

The response is of type object.