REST API - delete
com.vmware.content.subscribed_library
delete
DELETE /com/vmware/content/subscribed-library/id:{library_id} |
POST /com/vmware/content/subscribed-library/id:{library_id}?~action=delete |
POST /com/vmware/content/subscribed-library?~action=delete |
Deletes the specified subscribed library.
Deleting a subscribed 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.
- Request:
-
- Representations:
{
"library_id": "obj-103"
}<?xml version="1.0" ?>
<ns0:Delete-Input xmlns:ns0="http://vmware.com/content/subscribed_library" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<library_id>obj-103</library_id>
</ns0:Delete-Input>POST /com/vmware/content/subscribed-library?~action=delete
&library_id=obj-103- Parameters:
Name Type Required Description library_id *
ID Yes Identifier of the subscribed library to delete. Id of type com.vmware.content.Library. - Response:
-
- Representations:
- Parameters:
Name Type Required Description result VOID Yes - Errors:
-
Type Description HTTP Status Code invalid_element_type if the library referenced by library_id
is not a subscribed library.400 not_found if the library referenced by library_id
does not exist.404
Copyright © 2014. All Rights Reserved.