Content SubscribedLibrary 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.
Returns an authorization error if you do not have all of the privileges described as follows:
- The resource
com.vmware.content.Library
referenced by the parameter libraryId requiresContentLibrary.DeleteSubscribedLibrary
.
Identifier of the subscribed library to delete.
The parameter must be an identifier for the resource type: com.vmware.content.Library
.
Success!
if the library referenced by libraryId is not a subscribed library.
{
"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 library referenced by libraryId does not exist.
"Vapi Std Errors NotFound Object"
curl -X DELETE -H 'Authorization: <value>' https://{api_host}/api/content/subscribed-library/{libraryId}