Web Assets
Archive asset
Changed onArchive an asset (file) to make it inactive while preserving it in the system.
post/api/v1/assets/_archive
Request
- Base URLhttps://docs.anzworldline-solutions.com.au
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"assetPath": "//demo.dotcms.com/temp/temp-presentation.pptx"
}Response
Asset archived successfully
Changes
- breaking
request body became required
- breaking
removed the media type
*/*from the request body - info
added the media type
application/jsonto the request body - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the success response with the status
- breaking