content library item download session: delete

Deletes a download session. This removes the session and all information associated with it.

Removing a download session leaves any current transfers for that session in an indeterminate state (there is no guarantee that the transfers will be able to complete). However there will no longer be a means of inspecting the status of those downloads except by seeing the effect on the library item.

Download sessions for which there is no download activity or which are complete will automatically be expired and then deleted after a period of time.

Request:

HTTP request

DELETE https://{server}/rest/com/vmware/content/library/item/download-session/id:{download_session_id}

Path Parameters

Name Type Description
Required
download_session_id string Identifier of the download session to be deleted.

Response:

HTTP Status Code: 200

None

Errors:

HTTP Status Code Type Description
404 not_found if the download session does not exist.