Update Asset

PATCH

Update an Asset

Required scope | assets:write

Path parameters

asset_idstringRequired

Unique identifier for an Asset on a site

Request

This endpoint expects an object.
localeIdstringOptional

Unique identifier for a specific locale. Applicable, when using localization.

displayNamestringOptional

A human readable name for the asset

Response

Request was successful

idstringOptional

Unique identifier for this asset

contentTypestringOptional

File format type

sizeintegerOptional

size in bytes

siteIdstringOptional

Unique identifier for the site that hosts this asset

hostedUrlstringOptional

Link to the asset

originalFileNamestringOptional

Original file name at the time of upload

displayNamestringOptional

Display name of the asset

lastUpdateddatetimeOptional

Date the asset metadata was last updated

createdOndatetimeOptional

Date the asset metadata was created

variantslist of objectsOptional
altTextstringOptional

The visual description of the asset

Errors