Update an asset
PUT {{baseUrl}}/:tenant/assets/:assetId
Updates a given asset. type and access properties are immutable. Accepts media up to 50MB.
- To update an Asset of BLOB type, use multipart/form-data request body.
- To update an Asset of LINK type, use application/json request body.
### Required scopes
* media.asset_manage
Request Body
[{"name"=>"file", "value"=>"./Desktop/images/theBestImage.jpg", "datatype"=>"string"}, {"name"=>"body", "value"=>"{\"type\":\"BLOB\",\"access\":\"PUBLIC\",\"refIds\":[{\"id\":\"123e06ecf0452c2d6c0b81392\",\"type\":\"CATEGORY\"}],\"details\":{\"filename\":\"theBestImge\",\"mimeType\":\"image/jpg\"},\"metadata\":{\"Version\":1}}", "datatype"=>"string"}]
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string | ||
Accept | string |