v21

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01144108427.9 KB
Chat

Cancel Build

Cancel a specific build job.

Requires authentication and ownership verification to prevent a user from aborting another user's running build (DoS via job cancellation). Jobs with no registered owner (build_public_tmp) are accessible to any authenticated user, consistent with get_build_events.

post/api/v1/build/{job_id}/cancel

Path parameters

job_idstring required

Response

Successful Response

messagestring required
successboolean required