---
title: "Update metadata of images."
method: POST
path: "/projects/{projectId}/images/metadata"
tags: ["ImageApi"]
---

# Update metadata of images.

`POST /projects/{projectId}/images/metadata`

This API accepts a batch of image Ids, and metadata, to update images. There is a limit of 64 images.

## Path parameters

- `projectId` string, uuid, required

## Query parameters

- `imageIds` string[], required

## Request body

- object

## Response `200`

OK

- ImageMetadataUpdateSummary
  - `isBatchSuccessful` boolean
  - `images` ImageMetadataUpdateEntry[]
    - `imageId` string, uuid — Id of the image.
    - `status` 'OK' | 'ErrorImageNotFound' | 'ErrorLimitExceed' | 'ErrorUnknown' — Status of the metadata update.
    - `metadata` object, nullable — Metadata of the image.

## Other responses

- `207` — 207
- `default` — Error response

---

[API](https://skmtc.net/azure/apis/cognitiveservices-customvision-training.md) · [All operations](https://skmtc.net/azure/apis/cognitiveservices-customvision-training/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/cognitiveservices-customvision-training/versions/82dfb72c78fa/schema)
