POST /com/vmware/content/library/item/update-session/id:{update_session_id}?~action=cancel |
POST /com/vmware/content/library/item/update-session?~action=cancel |
This operation is not allowed if the session has been already completed.
Cancelling an update session will cancel any in progress transfers (either uploaded by the client or pulled by the server). Any content that has been already received will be scheduled for deletion.
{
"update_session_id": "obj-103" }
<?xml version="1.0" ?>
<ns0:Cancel-Input xmlns:ns0="http://vmware.com/content/library/item/update_session" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <update_session_id>obj-103</update_session_id> </ns0:Cancel-Input>
POST /com/vmware/content/library/item/update-session?~action=cancel
&update_session_id=obj-103 |
Name | Type | Required | Description |
---|---|---|---|
update_session_id* |
ID | Yes | Identifier of the update session that should be canceled. Id of type com.vmware.content.library.item.UpdateSession. |
Name | Type | Required | Description |
---|---|---|---|
result | VOID | Yes |
Type | Description | HTTP Status Code |
---|---|---|
not_found | if no update session with the given identifier exists. | 404 |
not_allowed_in_current_state | if the update session is not in the ACTIVE state. | 400 |
Copyright © 2014. All Rights Reserved.