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.

Request:

HTTP request

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

Path Parameters

Name Type Description
Required
update_session_id string Identifier of the update session.

Request Body Structure:

{
    "file_name""string"
}

Request Body Parameters:

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

Response:

HTTP Status Code: 200

None

Errors:

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.