---
title: "Update the metadata for an image."
method: PUT
path: "/api/v2/GlobalImages/{ID}"
tags: ["GlobalImages"]
---

# Update the metadata for an image.

`PUT /api/v2/GlobalImages/{ID}`

## Request

- Base URL: `https://secure.agco-ats.com`
- URL: `https://secure.agco-ats.com/api/v2/GlobalImages/{ID}`
- Auth: none declared

Update the metadata for an image. Size may not be modified by the client. 
                Set status to 'Available' to publish an image. Both the image and thumbnail must be uploaded.
                Set status to 'Created' to reset an image's contents and re-upload. 
                A file may only be 'Removed' by the DELETE method.

## Path parameters

- `ID` string, required

## Query parameters

- `overridePublisherOrDate` boolean

## Request body

- GlobalResourcesSharedModelsGlobalImage: An image from the Global Image library.
  - `Id` string: The Id of the GlobalImage Metadata.
  - `CRC` string, required: The Hash of the file (SHA256, HEX-encoded).
  - `ThumbnailCRC` string, required: The Hash of the thumbnail file (SHA256, HEX-encoded).
  - `State` 'Created' | 'Available' | 'Removed', required: Indicates the state of this file. Must be 'Created' when created. Read Only.
  - `Name` string, required: The name of the file when downloaded.
  - `Description` string, required: The description of the file.
  - `Publisher` string: The Publisher of the file.
  - `Categories` GlobalResourcesSharedModelsGlobalImageCategory[]: The category of the file.
    - `Id` string: The Id of the GlobalImage Categories.
    - `Name` string, required: The name of the GlobalImage Category.
  - `Date` string, date-time: The date of the file.
  - `Size` integer: The size of the file in bytes. Null until assigned by server when marked as 'Available'. Read Only
  - `ThumbnailSize` integer: The size of the thumbnail file in bytes. Null until assigned by server when marked as 'Available'. Read Only
  - `Width` integer, required: The width of the file.
  - `Height` integer, required: The height of the file.

## Response `204`

No Content

## Other responses

- `default`: API Error Response

---

[API](https://skmtc.dev/agco-ats/apis/agco-ats-api.md) - [All operations](https://skmtc.dev/agco-ats/apis/agco-ats-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agco-ats/apis/agco-ats-api/revisions/8b416443df5c?raw)
