Description: Releases a license from a bucket given the JPD id or label previously used by an "acquire" call.
Since: 4.0
Notes: Requires Artifactory Enterprise
Security: Requires an admin user
Usage: POST /mc/api/v1/buckets/{name}/release
Consumes: application/json
{ "name" : "<a JPD id or a free text label>" }
Produces: application/json
Return codes:
204 - No Content
404 - "The entity 'LicenseBucket' with identifier '<Non existing Bucket Id>' was not found."
409 - "The Jpd must be offline before you can detach its license"
409 - "No licenses to release for bucket: <bucket id>, instance name: <jpd id or free text label>"
Sample usage:
acquirelicense.json
POST /api/v1/buckets/mybucket/release { "name" : "team-A-license" }