• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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