Removing an Add-on Plan from a Subscription

Use the remove-subscription operation to detach an add-on plan from a subscription.

In this chapter:

Request Packet Structure

Response Packet Structure

Samples

 

Request Packet Structure

A request XML packet that detaches an add-on from a subscription includes the remove-subscription operation node:

<packet version="1.6.3.0">
<webspace>
   <remove-subscription>
   ...
   </remove-subscription>
</webspace>
</packet>

 

The remove-subscription node (domain_input.xsd) has the following graphical representation:

webspace-remove-subscription-rps.gif

 

Response Packet Structure

The remove-subscription node of the output XML packet is structured as follows:

webspace-remove-subscription-reps.gif

 

Samples

The request packet that removes an add-on plan with GUID cc982f71-48c3-479d-bc7b-59b97547e092 from a subscription with ID 8 looks as follows:

<packet version ="1.6.3.0">
<webspace>
   <remove-subscription>
      <filter>
         <id>8</id>
      </filter>
	   <plan-guid>cc982f71-48c3-479d-bc7b-59b97547e092</plan-guid>
   </remove-subscription>
</webspace>
</packet>

Response (when you detach an add-on that requires Webmail and Horde):

<packet version="1.6.3.0">
  <webspace>
    <remove-subscription>
      <result>
        <status>ok</status>
        <filter-id>8</filter-id>
        <id>8</id>
        <problems>Description           Current Requested Allowed 
Webmail (example.com) None    Horde IMP None</problems>
      </result>
    </remove-subscription>
  </webspace>
</packet>