v51

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

Update artifact metadata

Updates the editable parts of the artifact's metadata. Not all metadata fields can be updated. Note that only the properties included will be updated. You can update only the name by including only the name property in the payload of the request. Properties that are allowed but not present will result in the artifact's metadata not being changed.

This operation can fail for the following reasons:

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

Request body

namestring
descriptionstring
labelsLabels

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

ownerstring

Example request

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

Response

The artifact's metadata was updated.