Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The DeactivateLicense function confirms that a request to remove a license from a host was successfulis used to deactivate a license. For example, after deactivating a license, it can then be reactivated using a different host. This function requires an activation key and a HostID. Examples of a request and response for DeactivateLicense are given below

Note that the response for DeactivateLicense will contain a license string SUCCESS if successful or an error message if unsuccessful. See Return Codes for more information about error messages.

...

No Format
<soapenv:Envelope 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:ns="https://license.x-formation.com/soap/type/enduser/version/2">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:DeactivateLicense soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <activationKey xsi:type="xsd:string">9RTV8-YX2P3-E53Q8-1OAB6</activationKey>
         <hostid xsi:type="xsd:string">not_specified</hostid>
      </ns:DeactivateLicense>
   </soapenv:Body>
</soapenv:Envelope>

...

No Format
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:ns1="https://license.x-formation.com/soap/type/enduser/version/2" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
   <SOAP-ENV:Body>
      <ns1:DeactivateLicenseResponse>
         <return xsi:type="ns1:Soap_Response">
            <result_code xsi:type="xsd:int">0</result_code>
            <result_string xsi:nil="true"/>
         </return>
      </ns1:DeactivateLicenseResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>