Web Assets

Archive asset

Archive an asset (file) to make it inactive while preserving it in the system.

post/api/v1/assets/_archive

Request body

assetPathstring required

Full path to the asset (file) to be archived

Example request

{
  "assetPath": "//demo.dotcms.com/temp/temp-presentation.pptx"
}

Response

Asset archived successfully

entityboolean
i18nMessagesMapobject
permissionsstring[]

Changes

No recorded changes to this endpoint across all 1 revision of this API.