DELETE /com/vmware/content/local-library/id:{library_id} |
POST /com/vmware/content/local-library/id:{library_id}?~action=delete |
POST /com/vmware/content/local-library?~action=delete |
Deleting a local library will remove the entry immediately and begin an asynchronous task to remove all cached content for the library. If the asynchronous task fails, file content may remain on the storage backing. This content will require manual removal.
{
"library_id": "obj-103" }
<?xml version="1.0" ?>
<ns0:Delete-Input xmlns:ns0="http://vmware.com/content/local_library" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <library_id>obj-103</library_id> </ns0:Delete-Input>
POST /com/vmware/content/local-library?~action=delete
&library_id=obj-103 |
Name | Type | Required | Description |
---|---|---|---|
library_id* |
ID | Yes | Identifier of the local library to delete. Id of type com.vmware.content.Library. |
Name | Type | Required | Description |
---|---|---|---|
result | VOID | Yes |
Type | Description | HTTP Status Code |
---|---|---|
invalid_element_type | if the library specified by library_id is not a local library. |
400 |
not_found | if the library specified by library_id does not exist. |
404 |
Copyright © 2014. All Rights Reserved.