Content Library Item UpdateSession delete
Deletes an update session. This removes the session and all information associated with it.
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.
Returns an authorization error if you do not have all of the privileges described as follows:
- Operation execution requires
System.Anonymous
.
Identifer of the update session to delete.
The parameter must be an identifier for the resource type: com.vmware.content.library.item.UpdateSession
.
Success!
if the update session is in the Content Library Item UpdateSessionModel State.ACTIVE state.
{
"messages": [
{
"id": "string",
"default_message": "string",
"args": [
"string"
],
"params": {
"params": {
"s": "string",
"dt": "string",
"i": 0,
"d": "number",
"l": "Vapi Std NestedLocalizableMessage Object",
"format": "string",
"precision": 0
}
},
"localized": "string"
}
],
"data": {},
"error_type": "string"
}
if the update session does not exist.
"Vapi Std Errors NotFound Object"
curl -X DELETE -H 'Authorization: <value>' https://{api_host}/api/content/library/item/update-session/{updateSessionId}