PATCH /asset/v1/content/assets/{id}
Updates part of an asset deleted in the last 30 days.
Name | Type | Description | |
---|---|---|---|
id | number | Required | The ID of the asset to update |
Name | Type | Description | |
---|---|---|---|
CustomerKey | string | Reference to customer's private ID/name for the asset | |
ContentType | string | The type that the content attribute will be in | |
Data | object | Property bag containing the asset data | |
AssetType | object | The type of the asset saved as a name/ID pair | |
Version | number | The version of the asset | |
Locked | boolean | Specifies if the asset can be modified or not | |
FileProperties | object | Stores the different properties that this asset refers to if it is a file type | |
Name | string | Name of the asset, set by the client. 200 character maximum. | |
Description | string | Description of the asset, set by the client | |
Category | object | ID of the category the asset belongs to | |
Tags | array | List of tags associated with the asset | |
Content | string | The actual content of the asset | |
Design | string | Fallback for display when neither content nor supercontent are provided | |
SuperContent | string | Content that supersedes content in terms of display | |
CustomFields | object | Custom fields within an asset | |
Views | object | Views within an asset | |
Blocks | object | Blocks within the asset | |
MinBlocks | number | Minimum number of blocks within an asset | |
MaxBlocks | number | Maximum number of blocks within an asset | |
Channels | object | List of channels that are allowed to use this asset | |
AllowedBlocks | array | List of blocks that are allowed in the asset | |
Slots | object | Slots within the asset | |
BusinessUnitAvailability | object | A dictionary of member IDs that have been granted access to the asset | |
sharingProperties | object | Allows you to share content with one or more business units that have Content Builder Sharing enabled. See Sharing for additional information. | |
sharingProperties.sharedWith | object | List of MID IDs the asset is shared with | |
sharingProperties.sharingType | string | Indicates the permission that you are granting to the list of MIDs in sharedWith. Possible values are view, edit, or local. | |
Template | object | Template the asset follows | |
File | string | Base64-encoded string of a file associated with an asset | |
GenerateFrom | string | Tells the sending compiler what view to use for generating this view's content |
Status | Name | Type | Description |
---|---|---|---|
200 | A single asset | ||
CustomerKey | string | Reference to customer's private ID/name for the asset | |
ContentType | string | The type that the content attribute will be in | |
Data | object | Property bag containing the asset data | |
AssetType | object | The type of the asset saved as a name/ID pair | |
Version | number | The version of the asset | |
Locked | boolean | Specifies if the asset can be modified or not | |
FileProperties | object | Stores the different properties that this asset refers to if it is a file type | |
Name | string | Name of the asset, set by the client. 200 character maximum. | |
Description | string | Description of the asset, set by the client | |
Category | object | ID of the category the asset belongs to | |
Tags | array | List of tags associated with the asset | |
Content | string | The actual content of the asset | |
Design | string | Fallback for display when neither content nor supercontent are provided | |
SuperContent | string | Content that supersedes content in terms of display | |
CustomFields | object | Custom fields within an asset | |
Views | object | Views within an asset | |
Blocks | object | Blocks within the asset | |
MinBlocks | number | Minimum number of blocks within an asset | |
MaxBlocks | number | Maximum number of blocks within an asset | |
Channels | object | List of channels that are allowed to use this asset | |
AllowedBlocks | array | List of blocks that are allowed in the asset | |
Slots | object | Slots within the asset | |
BusinessUnitAvailability | object | A dictionary of member IDs that have been granted access to the asset | |
sharingProperties | object | Allows you to share content with one or more business units that have Content Builder Sharing enabled. See Sharing for additional information. | |
sharingProperties.sharedWith | object | List of MID IDs the asset is shared with | |
sharingProperties.sharingType | string | Indicates the permission that you are granting to the list of MIDs in sharedWith. Possible values are view, edit, or local. | |
Template | object | Template the asset follows | |
File | string | Base64-encoded string of a file associated with an asset | |
GenerateFrom | string | Tells the sending compiler what view to use for generating this view's content | |
400 | Bad request | ||
Message | string | The error message | |
ErrorCode | number | The specific error code | |
Documentation | string | Any specific documentation for the error | |
403 | Permission error | ||
Message | string | The error message | |
ErrorCode | number | The specific error code | |
Documentation | string | Any specific documentation for the error |