# Update Artifact Labels Update Artifact Labels. Endpoint: PUT /har/api/v1/registry/{registry_ref}/artifact/{artifact}/labels Version: 1.0 Security: x-api-key ## Path parameters: - `registry_ref` (string, required) Reference to the scope in which the registry exists. Format depends on the scope: - : - : - : The suffix is used internally to route scoped requests. It must be included in the URL. - `artifact` (string, required) Name of the artifact. The value depends on whether the name contains a slash (): - If the artifact name , append a trailing at the end. - Example: - If the artifact name , use the plain name. - Example: This is used internally to distinguish between namespaced and flat artifact names. ## Query parameters: - `artifact_type` (string) artifact type. Enum: "model", "dataset" ## Request fields (application/json): - `labels` (array, required) ## Response 200 fields (application/json): - `data` (object, required) Harness Artifact Summary - `data.createdAt` (string) - `data.downloadsCount` (integer) - `data.imageName` (string, required) - `data.labels` (array) - `data.modifiedAt` (string) - `data.packageType` (string, required) refers to package Enum: "DOCKER", "MAVEN", "PYTHON", "GENERIC", "HELM", "NUGET", "NPM", "RPM", "CARGO", "GO", "HUGGINGFACE" - `status` (string, required) Indicates if the request was successful or not Enum: "SUCCESS", "FAILURE", "ERROR" ## Response 400 fields (application/json): - `code` (string, required) The http error code Example: "404" - `details` (object) Additional details about the error - `message` (string, required) The reason the request failed ## Response 401 fields (application/json): - `code` (string, required) The http error code Example: "404" - `details` (object) Additional details about the error - `message` (string, required) The reason the request failed ## Response 403 fields (application/json): - `code` (string, required) The http error code Example: "404" - `details` (object) Additional details about the error - `message` (string, required) The reason the request failed ## Response 404 fields (application/json): - `code` (string, required) The http error code Example: "404" - `details` (object) Additional details about the error - `message` (string, required) The reason the request failed ## Response 500 fields (application/json): - `code` (string, required) The http error code Example: "404" - `details` (object) Additional details about the error - `message` (string, required) The reason the request failed