Update Asset

Update details of an Asset.

Required scope | assets:write

Path parameters

asset_idstringRequiredformat: "objectid"

Unique identifier for an Asset on a site

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

Information about the asset to update

localeIdstringOptional

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

displayNamestringOptional

A human readable name for the asset

Response

Request was successful

idstringformat: "objectid"

Unique identifier for this asset

contentTypestringformat: "mime-type"

File format type

sizeinteger

size in bytes

siteIdstringformat: "objectid"

Unique identifier for the site that hosts this asset

hostedUrlstringformat: "uri"

Link to the asset

originalFileNamestring

Original file name at the time of upload

displayNamestring

Display name of the asset

lastUpdatedstringformat: "date-time"

Date the asset metadata was last updated

createdOnstringformat: "date-time"

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