Chat
Cancel Build
Changed onCancel 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 started via build_public_tmp are explicitly marked public. Jobs without a queue owner or public marker return 404.
post/api/v1/build/{job_id}/cancel
Request
- The document declares no server URL.
- Auth
- OAuth 2PasswordToken URL: api/v1/login
- or API key in query parameter x-api-key
- or API key in header x-api-key
Path parameters
job_idstring required
Response
Successful Response
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
the endpoint scheme security
OAuth2PasswordBearerCookiewas added to the API - info
the endpoint scheme security
OAuth2PasswordBearerwas removed from the API
- info