Actions21
- Catalog Actions
- Execute Actions
- Group Actions
- User Actions
Catalog → Update Asset
AI-generatedSummary
Update an existing asset in the Coginiti catalog at the specified path, optionally changing its name and/or content, using an ETag for concurrency control.
Inputs
- Path (required) — Path to the asset to update, e.g., '@Personal/Reports/Sample Project'
- Name — New name for the asset (max 255 characters, cannot contain '/')
- Asset Content — New content for the asset
- If-Match Header (required) — ETag value from a previous GET request to ensure concurrency control
Output shape
a single JSON object representing the updated asset or status response
Requires providing the valid ETag in the If-Match header to avoid conflicts; updates fields selectively based on provided inputs; returns the updated asset data or status.
Examples
Example 1: Update asset content and/or name
Set 'Path' to the full path of the asset, optionally set 'Name' and/or 'Asset Content' to new values, provide the latest ETag as 'If-Match Header'. The node updates the asset accordingly and returns updated info.