JobExecutor class
Bases: Resource
Cancel a job
post: tags: - api summary: Cancel a job. description: | Cancel a job by job_id. If the job does not exist, a 404 error is returned.
!!! Note
When the authorization feature is activated (available in the **Enterprise** edition only), the endpoint
requires `TAIPY_EXECUTOR` role.
Code example:
```shell
curl -X POST http://localhost:5000/api/v1/jobs/cancel/JOB_my_task_config_75750ed8-4e09-4e00-958d-e352ee426cc9
```
parameters: - in: path name: job_id schema: type: string responses: 204: content: application/json: schema: type: object properties: message: type: string description: Status message. job: JobSchema 404: description: No job has the job_id identifier.