PATCH /asset/v1/content/assets/{id}/archive

Archive an asset.

Archive an asset to remove it from availability for queries, triggered sends, and journeys, as if the asset were deleted.

To make the asset available again, use restore.

NameTypeDescription
idnumberRequired. The ID of the asset to archive.
StatusNameTypeDescription
200  OK
 messagestringThe resource was successfully archived.
    
400  Bad request
 MessagestringThe error message.
 ErrorCodenumberThe specific error code.
 DocumentationstringAny specific documentation for the error.
    
403  Permission error
 MessagestringThe error message.
 ErrorCodenumberThe specific error code.
 DocumentationstringAny specific documentation for the error.