Cancel a running workflow

This call cancels a running workflow. Only runs whose status is QUEUED, INITIALIZING or RUNNING may be cancelled.

https://cavatica-ga4gh-api.sbgenomics.com/ga4gh/wes/v1/runs/{run_id}/cancel

Request

Example request

POST /ga4gh/wes/v1/runs/4becc627-af34-48cd-b80c-b39574cd00d3/cancel HTTP/1.1
Host: cavatica-ga4gh-api.sbgenomics.com
X-SBG-Auth-Token: 55e9691c111146bd384c5ec40a9f97fb1
curl --location --request POST 'https://cavatica-ga4gh-api.sbgenomics.com/ga4gh/wes/v1/runs/4becc627-af34-48cd-b80c-b39574cd00d3/cancel' \
--header 'X-SBG-Auth-Token: 55e9691c111146d384c5ec40a9f97fc0' \

Header Fields

Name

Description

X-SBG-Auth-Token
required

Your authentication token.

Path parameters

Name

Description

run_id
required

The ID of the workflow you are canceling.

Response

See a list of response codes that may be contained in the body of the response.

Example response body

{
    "run_id": "4becc627-af34-48cd-b80c-b39574cd00d3"
}