Cancel Job

This section describes the endpoint used to cancel an ETL job.

Authentication & Authorization

  • Use application tokens to authenticate your request using these instructions: Authorization & Authentication
  • Required application permission on Permission Token: Update Model

URI

Request URI

POST https://{region}.vena.io/api/public/v1/etl/jobs/{jobId}/cancel

URI Parameter

Name Required Type Description
region Yes string The name of your region (e.g. "us1")
jobid Yes string The job ID (18 or 19 digits)

Headers

Content-type: application/json

Response

Name Type Description
200 OK ETLJob OK - job has been cancelled

Examples

Sample Request

curl https://us2.vena.io/api/public/v1/etl/jobs/1193658473950888363/cancel -X POST -H "Content-Type: application/json" -u 1112140682300620800.1:51fd255f934040649f98d2a74d1c4391

Sample Response

Status code: 200

{
"id": "1099180598582312960",
"name": "LoadGL",
"status": "CANCELLED",
"modelId": "988930839071293441",
"modelName": "Financial Model",
"createdDate": 1623338765403,
"updatedDate": 1623338873829,
"userName": "Admin User"
}