content library item download session: cancel

Cancels the download session. This operation will abort any ongoing transfers and invalidate transfer urls that the client may be downloading from.

Request:

HTTP request

POST https://{server}/rest/com/vmware/content/library/item/download-session/id:{download_session_id}?~action=cancel

Path Parameters

Name Type Description
Required
download_session_id string Identifer of the download session that should be canceled.

Response:

HTTP Status Code: 200

None

Errors:

HTTP Status Code Type Description
404 not_found if no download session with the given identifier exists.
400 not_allowed_in_current_state if the download session is not in the ACTIVE state.