REST API - remove

content library item updatesession file: remove

Requests a file to be removed. The file will only be effectively removed when the update session is completed.


HTTP request

POST https://{server}/rest/com/vmware/content/library/item/updatesession/file/id:{update_session_id}?~action=remove

Path Parameters

Name Type Description
update_session_id string Identifier of the update session.

Request Body Structure:


Request Body Parameters:

Name Type Description
bold = required
file_name string Name of the file to be removed.


HTTP Status Code: 200



HTTP Status Code Type Description
404 not_found if the update session doesn't exist.
400 invalid_argument if the file doesn't exist in the library item associated with the update session.