Actions9
Update Asset Attribute
AI-generatedSummary
Update a single attribute of a specific asset in MediaCockpit DAM by asset ID, setting either a text value or a full metadata JSON object for the attribute.
Inputs
- Asset ID (required) — The ID of the asset to update.
- Attribute Key (required) — The attribute key to update (e.g., externalKey, internalDescription, or DB ID).
- Text Value — The text string value to set for the attribute. Ignored if Metadata is provided.
- Metadata — Advanced: Full JSON metadata object to update the attribute, which overrides the simple Text Value.
Output shape
a single item with an 'updateResult' JSON property containing the API response object indicating the outcome of the attribute update.
The operation requires Asset ID and Attribute Key to be provided. It requires either Metadata as valid JSON or a Text Value to be set; otherwise it throws an error. The operation returns no direct binary data, only JSON output in the updated item's data field under 'updateResult'. Any JSON parse errors in Metadata or missing fields result in execution errors.