v51

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-08-01131107332.8 KB
Metadata

Update artifact version metadata

Updates the user-editable portion of the artifact version's metadata. Only some of the metadata fields are editable by the user. For example, description is editable, but createdOn is not.

This operation can fail for the following reasons:

  • No artifact with this artifactId exists (HTTP error 404)
  • No version with this version exists (HTTP error 404)
  • A server error occurred (HTTP error 500)
put/groups/{groupId}/artifacts/{artifactId}/versions/{versionExpression}

Request body

namestring
descriptionstring
labelsLabels

User-defined name-value pairs. Name and value must be strings.

Example request

{
  "name": "Artifact Name",
  "description": "The description of the artifact.",
  "labels": {
    "custom-1": "foo",
    "custom-2": "bar"
  }
}

Response

The artifact version's metadata was successfully updated.