• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Question change subscription expire date via API

Hello @msf grg

Expiration date is a limit. So just replace [placeholders] with your values:
Code:
<packet>
<webspace>
   <set>
      <filter>
        <id>[YOUR_SUBSCRIPTION_ID]</id>
      </filter>
      <values>
        <limits>
          <limit>
            <name>expiration</name>
            <value>[TIME_IN_UNIX_TIMESTAMP_FORMAT]</value>
          </limit>
        </limits>
      </values>
   </set>
</webspace>
</packet>
 
Back
Top