Delete Subscriptions
DescriptionDeletes the specified subscription of the published library. The subscribed library associated with the subscription will not be deleted. if you do not have all of the privileges described as follows: - The resource com.vmware.content.Library referenced by the parameter library requires ContentLibrary.DeleteSubscription.
Request
URLURL
Path Parameters
Path Parameters
Identifier of the published library. The parameter must be an identifier for the resource type: com.vmware.content.Library.
Subscription identifier. The parameter must be an identifier for the resource type: com.vmware.content.library.Subscriptions.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Errors
Errors
com.vmware.vapi.std.errors.invalid_element_type : If the library specified by library is a subscribed library. | com.vmware.vapi.std.errors.not_allowed_in_current_state : If the library specified by library is not a published library.
com.vmware.vapi.std.errors.unauthenticated : If the user that requested the operation cannot be authenticated.
com.vmware.vapi.std.errors.unauthorized : If the user that requested the operation is not authorized to perform the operation.
com.vmware.vapi.std.errors.not_found : If the library specified by library does not exist. If the subscription specified by subscription does not exist for the library specified by library.
com.vmware.vapi.std.errors.error : If the system reports an error while responding to the request.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-deprecated-method: post
x-vmw-doc-deprecated-path: /rest/com/vmware/content/library/subscriptions/id:{library}?~action=delete
x-vmw-doc-operation: delete