Delete Builds (Multiple)

Removes builds stored in Artifactory. Useful for cleaning up old build info data. Requires Artifactory Pro. This endpoint allows deleting multiple build numbers of a certain build, including build numbers containing special characters.

Since: 6.13

Security: Requires a privileged user. From version 6.6, requires delete permission for the Build.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Delete builds request

string

The project to which the build belongs. If a project is not specified, the default project is used.

string
required

The build name.

buildNumbers
array of strings

The build numbers to delete. This property can be left undefined if deleteAll is set to true.

buildNumbers
boolean
Defaults to false

When set to true, deletes the artifacts associated with the builds in addition to the metadata.

boolean
Defaults to false

When set to true, deletes all build numbers of the defined build.

Responses

400

Bad Request - The request body is malformed or a required parameter is missing.

401

Bad Credentials - Authentication failed. A valid token is required.

403

Permission Denied - The user does not have delete permission for the build.

Language
Credentials
URL
LoadingLoading…
Response
Choose an example:
text/plain