DELETE /com/vmware/content/library/item/update-session/id:{update_session_id} |
POST /com/vmware/content/library/item/update-session/id:{update_session_id}?~action=delete |
POST /com/vmware/content/library/item/update-session?~action=delete |
Removing an update session leaves any current transfers for that session in an indeterminate state (there is no guarantee that the server will terminate the transfers, or that the transfers can be completed). However there will no longer be a means of inspecting the status of those uploads except by seeing the effect on the library item.
Update sessions for which there is no upload activity or which are complete will automatically be deleted after a period of time.
{
"update_session_id": "obj-103" }
<?xml version="1.0" ?>
<ns0:Delete-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:Delete-Input>
POST /com/vmware/content/library/item/update-session?~action=delete
&update_session_id=obj-103 |
Name | Type | Required | Description |
---|---|---|---|
update_session_id* |
ID | Yes | Identifer of the update session to delete. Id of type com.vmware.content.library.item.UpdateSession. |
Name | Type | Required | Description |
---|---|---|---|
result | VOID | Yes |
Type | Description | HTTP Status Code |
---|---|---|
not_allowed_in_current_state | if the update session is in the ACTIVE state. | 400 |
Copyright © 2014. All Rights Reserved.