PATCH /asset/v1/content/deletedAssets/[AssetID]
Updates part of a deleted asset.
Name | Type | | Description |
---|
id | number | Required | The ID of the asset to update. |
Name | Type | | Description |
---|
name | string | | Name of the asset, set by the client. 200 character maximum. |
customerKey | string | | Reference to customer's private ID/name for the asset. |
categoryID | number | | ID of the category the asset belongs to. |
Status | Name | Type | Description |
---|
200 | | | Asset updated |
| Id | string | System-assigned ID for the category. |
| Name | string | Name of the category. |
| ParentId | number | ID of the parent category. |
| CategoryType | string | The type of category, either asset or asset-shared. |
| MemberId | number | ID of the member who creates the category. |
| EnterpriseId | number | ID of the enterprise this business unit belongs to. |
| SharingProperties | object | Stores the MIDs of business units this category is shared with and the sharing type. Only included in the response if CategoryType is asset-shared. |
| Meta | object | Meta is used much like the data attribute on CMS assets but for internal functionality in Content Builder. If meta is returned, be sure to pass it through the API. |
| | | |
400 | | | Bad Request |
| Message | string | Bad request! |
| ErrorCode | number | 40004 |
| | | |
403 | | | Not found |
| Message | string | Insufficient privileges |
| ErrorCode | number | 20002 |