Cancel workflow
Cancel a running workflow, identified by its URN, and return the workflow. Only a PENDING or RUNNING workflow can be canceled; canceling a workflow that is already CANCELED succeeds and returns it unchanged. A workflow in any other terminal state (for example FINISHED or FAILED) cannot be canceled and returns 409 Conflict. Only the workflow's owner or an administrator can cancel it.
The workflow is CANCELED as soon as the request succeeds, and no new jobs are started for it. Its PENDING and RUNNING jobs are canceled too, but may take a moment to stop; use List jobs to follow them.
Request
- Base URLhttps://your-environment.ataccama.one/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
A URN identifying a processing workflow.
Format: urn:ata:{tenant}:processing:workflow:{uuid}
Example: urn:ata:acme-corp:processing:workflow:123e4567-e89b-12d3-a456-426614174000.
Response
The canceled processing workflow
Example response
{
"urn": "urn:ata:acme-corp:processing:workflow:123e4567-e89b-12d3-a456-426614174000",
"type": "DQ-JOB",
"name": "CUSTOMERS / Primary Monitor",
"owner": "jane.doe",
"status": "PENDING",
"errors": [
{
"job": "urn:ata:acme-corp:processing:job:123e4567-e89b-12d3-a456-426614174000"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.