Update the metadata attribute values and/or the Security Template assignments for an Asset identified by Object ID (Asset ID). ** The identifier must be specified in the path parameter.
** The user requesting the Asset must have edit role privilege, as well as edit permission on the Asset's security template in order to update the Asset. **
The Request Body must be a JSON object. Update the security templates assigned to an Asset, or update metadata values. Only those values you wish to change need to be provided.
Success
Unauthorized. Missing Authorization or AccessToken or Access Token expired. Also occurs if the user does not have the permission to perform the action.
Forbidden. Missing X-API-key or Asset Not Found.
{- "securityTemplateIds": [
- "b84ac1dc-30ed-4741-8f8d-47ef2635950b"
], - "metadata": [
- {
- "name": "Release Date",
- "value": "01/01/2024"
}, - {
- "name": "Product",
- "value": "HooliDocs"
}, - {
- "name": "Usage Table",
- "value": [
- [
- {
- "name": "Usage Category",
- "value": "E-Commerce"
}, - {
- "name": "Usage Length",
- "value": "12 months"
}
], - [
- {
- "name": "Usage Category",
- "value": "Physical Retail"
}, - {
- "name": "Usage Length",
- "value": "18 months"
}
], - [
- {
- "name": "Usage Category",
- "value": "Social Media"
}, - {
- "name": "Usage Length",
- "value": "6 months"
}
]
]
}
]
}
{- "status": "success",
- "message": "Asset Update was successful"
}