Update an asset’s name, description, or group assignment. The asset must belong to your organization.
X-API-KEY header:
| Parameter | Type | Required | Description |
|---|---|---|---|
| assetId | number | Yes | ID of the asset to update |
| Field | Type | Required | Description |
|---|---|---|---|
| assetId | number | Yes | ID of the asset to update (must match path parameter) |
| name | string | No | New display name for the asset. Omit to leave unchanged. |
| description | string | null | No | New description for the asset. Pass null to clear. Omit to leave unchanged. |
| groupId | number | null | No | New group ID to assign. Pass null to ungroup. Omit to leave unchanged. |
name, description, or groupId must be provided to update the asset.| Field | Type | Description |
|---|---|---|
| id | number | Asset ID |
| content | string | Asset content (unchanged) |
| name | string | Updated display name |
| description | string | null | Updated description (null if cleared) |
| groupId | number | null | Updated group ID (null if ungrouped) |
| Error Message | Cause | Resolution |
|---|---|---|
| Asset with ID not found | Invalid asset ID | Verify the asset ID exists |
| Asset does not belong to your organization | Asset belongs to a different organization | Use an asset ID from your organization |
| Group with ID not found | Invalid group ID | Use a valid group ID from your organization |
| At least one field must be provided | Empty update request | Provide at least one field to update |
| Path parameter assetId does not match body | Mismatch between URL and body asset IDs | Ensure both asset IDs match |
null to clear a field (description, groupId)updatedAt timestamp will be updated when any field changesYour API key. This is required by most endpoints to access our API programatically. Reach out to us at [email protected] to get an API key for your use.
ID of the asset to update
x > 0