GET /asset/v1/content/deletedAssets
Returns a collection of all assets deleted in the last 30 days.
Status | Name | Type | Description |
---|---|---|---|
200 | A collection of assets | ||
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 |
The deletedAssets collection stores all assets deleted from your MID in the last 30 days. The deletedAssets collection does not include assets that fall under base asset types 3 (block) or 5 (message).