PUT /asset/v1/content/deletedAssets/[AssetID]
Updates one Content Builder category by ID.
Name | Type | Description | |
---|---|---|---|
id | number | Required | The ID of the category. |
Name | Type | Description | |
---|---|---|---|
Id | number | Required | System-assigned ID of the category, |
Name | string | Required | Name of the category. |
ParentId | number | Required | ID of the parent category. |
EnterpriseId | number | ID of the enterprise this business unit belongs to. | |
CategoryType | string | The type of category, either asset or asset-shared. | |
MemberId | number | ID of the member who creates the category. | |
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. | |
SharingProperties.SharedWith | object | List of MID IDs the category is shared with. | |
SharingProperties.SharingType | string | Indicates the permission that you are granting to the list of MIDs in sharedWith. The only possible value for categories is edit. | |
Description | string | Description of the category. |
Status | Name | Type | Description |
---|---|---|---|
200 | A single updated category | ||
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. | |
403 | Unauthorized | ||
Message | string | Insufficient privileges | |
ErrorCode | number | 20002 | |
404 | Not found | ||
Message | string | Object not found | |
ErrorCode | number | 30003 | |
500 | Internal server error | ||
Message | string | No message | |
ErrorCode | number | 10000 |
Example Request
Example Response