v1

latestOpenAPI 3.0.1Apache 2.02026-07-1310566642.9 KB
Builds

Delete a build by key

Delete the build data currently stored for the given pipelineId and buildNumber combination.

Deletion is performed asynchronously. The getBuildByKey operation can be used to confirm that data has been deleted successfully (if needed).

delete/rest/builds/0.1/pipelines/{pipelineId}/builds/{buildNumber}

Path parameters

pipelineIdstring required

The pipelineId of the build to delete.

buildNumberinteger required

The buildNumber of the build to delete.

Query parameters

_updateSequenceNumberinteger

This parameter usage is no longer supported.

An optional _updateSequenceNumber to use to control deletion.

Only stored data with an updateSequenceNumber less than or equal to that provided will be deleted. This can be used help ensure submit/delete requests are applied correctly if issued close together.

Response

Delete has been accepted. Data will eventually be removed from Jira if it exists.