v1

latestOpenAPI 3.0.3MIT2026-07-1411163326.7 KB
Job

Cancel job by job number

Cancel job with a given job number.

post/project/{project-slug}/job/{job-number}/cancel

Path parameters

{"stackTrail":"paths:/project/{project-slug}/job/{job-number}/cancel:post:parameters:0:schema","oasType":"schema","type":"unknown"}

The number of the job.

project-slugstring required

Project slug in the form vcs-slug/org-name/repo-name. The / characters may be URL-escaped. For projects that use GitLab or GitHub App, use circleci as the vcs-slug, replace org-name with the organization ID (found in Organization Settings), and replace repo-name with the project ID (found in Project Settings).

Response

messagestring required

A human-readable message