DELETE /asset/v1/content/assets/{id}
Deletes an asset.
Name | Type | Description | |
---|---|---|---|
id | number | Required | The ID of the asset to delete |
isCDNDelete | Boolean | Permanently deletes the file and its URL in Akamai when the associated file is deleted in Content Builder. A value of 1 permanently deletes the file. If isCDNDelete is unspecified or if the value is 0, it doesn’t permanently delete the file. |
Status | Name | Type | Description |
---|---|---|---|
200 | OK | ||
message | string | The resource was successfully deleted. | |
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 |