Change verification method

Description

Change the verification method for a specific SSL.


Parameters

Name Data Type Status Description
auth-id Integer  Required  Authentication parameter
 auth-password String  Required  Authentication parameter
ssl-id Integer Required SSL ID. You can see this ID with the method List certificates
method Integer Required
  • 1 - Email verification
  • 2 - CNAME verification
  • 3 - HTTP verification
mail String Required If you want to use Email verification you need to fill in the email you want to use to verify the SSL. You can check all of the available emails for verification of your SSL from here: List verification emails

Return: Array with status and status description.


Errors

When the authentication of API user is not correct, any API request will fail with the following status and statusDescription:

{"status":"Failed","statusDescription":"Invalid authentication, incorrect auth-id or auth-password."}

If you have entered an invalid ID for SSL Certificate, the following status will be returned:

{"status":"Failed","statusDescription":"Missing SSL certificate"}

If you have entered an invalid verification method, the following status will be returned:

{"status":"Failed","statusDescription":"The verification method was not changed."}

Note: These are example errors in JSON format, and these are not the only errors that can be displayed.


Example

URL JSON: https://api.cloudns.net/ssl/change-verification-method.json
POST/GET: auth-id=0&auth-password=password&ssl-id=64&method=2

URL XML: https://api.cloudns.net/ssl/change-verification-method.xml
POST/GET: auth-id=0&auth-password=password&ssl-id=64&method=2


Last modified: 2022-06-07
Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more