API Module SSL cancelSslCertRequest

From Openprovider API documentation

Jump to: navigation, search

Contents

Module SSL certificates > Cancel Order

Module SSL certificates
Command name cancelSslCertRequest
Use Use this command to cancel a non-finished SSL certificate order, or revoke an issued SSL certificate
Input
  • id
Output
  • id

Examples

Using PHP class

$request = new OP_Request;
$request->setCommand('cancelSslCertRequest')
  ->setAuth(array('username' => 'username', 'password' => 'password'))
  ->setArgs(array(
    'id' => 12345,
   ));

Raw XML

Please note that newlines and leading spaces are added only for readability. Those whitespaces should be excluded from your XML command before sending it to Openprovider.

<?xml version="1.0" encoding="UTF-8"?>
<openXML>
  <credentials>
    <username>username</username>
    <password>password</password>
  </credentials>
  <cancelSslCertRequest>
    <id>12345</id>
  </cancelSslCertRequest>
</openXML>


<?xml version="1.0" encoding="UTF-8"?>
<openXML>
  <reply>
    < code>0</code>
    <desc></desc>
    <data>
      <id>12345</id>
    </data>
  </reply>
</openXML>
Views
Personal tools