Update an existing asset.

Use this end-point to update an existing asset that matches the ID that is specified. A conditional request is supported. Note:- If AI tag analysis is enabled, it starts in the background. AI analyzes and provides tag recommendations for the asset that is created.
User roles: admin, manager, editor

Path Params
string
required

Provide the ID of the asset that you want to update.

Query Params
fields
array of strings

Only the asset fields that are specified here are returned for each result. Any asset field is a valid value and these can be specified in a comma-separated list. For example, to list the asset fields name and ID, provide the value ID, and name. All asset fields are returned by default.

fields
include
array of strings

Optional: Parameters used to include additional fields inside each returned asset. Use "links" to include the links section, which contains URLs for actions that can be performed on the asset. Use "metadata" to include additional fields for each of the items referenced by the asset You can specify multiple fields as a comma-separated value. For example, "include=links,metadata".

include
boolean
Defaults to false

Specifies whether revision checking should be disabled.

Body Params

Provide all the data that you want to update in this asset. The resource data that you provided is validated. If you change the resource of the asset with a new resource, it must not cause any changes to the asset. The path that you provide must contain a leading slash and must be unique and unchanged. The path and name fields are optional and are generated from the resource’s name by default.

string
required
string
string
string
tags
array of strings
tags
categoryIds
array of strings
categoryIds
Headers
string

Provide an Etag value from a previous request to check if the asset is the latest. If the value that you provided is old, a 412 Precondition Failed response will be returned.

string
enum

Specify now to bypass the publishing schedule. Specify next to use publishing schedule.

Allowed:
Responses

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json