Stop a Running Node
Canceling a Run is not the same as a Job. If you want to cancel a job, follow the instructions on the endpoint. Use this when you have started a SQL statement such as MERGE, INSERT, UPDATE, and TRUNCATE on a node in your Workspace.
If you want to stop a node from running you can use the Cancel Running Job API.
- Leave
runID
andorgID
blank.runID
is only required when stopping a Job. - Enter the Workspace ID into the
environmentID
.- You get the workspace ID by going to Build Settings > Workspace.
-
curl --request POST \
--url https://app.coalescesoftware.io/scheduler/cancelRun \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"environmentID": "1" //enter the workspace ID.
}
'
Updated about 2 months ago