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
.
Name | Type | Description |
---|---|---|
id | number | Required. The ID of the asset to archive. |
Status | Name | Type | Description |
---|---|---|---|
200 | OK | ||
message | string | The resource was successfully archived. | |
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. |