Update Asset

PATCH

Update details of 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

idstring

Unique identifier for this asset

contentTypestring

File format type

sizeinteger

size in bytes

siteIdstring

Unique identifier for the site that hosts this asset

hostedUrlstring

Link to the asset

originalFileNamestring

Original file name at the time of upload

displayNamestring

Display name of the asset

lastUpdateddatetime

Date the asset metadata was last updated

createdOndatetime

Date the asset metadata was created

variantslist of objects

A list of asset variants created by Webflow to serve your site responsively.

altTextstringOptional

The visual description of the asset

Errors

Built with