Skip to content

changeValidationEmail

Victor Aleksejevs edited this page Aug 10, 2018 · 5 revisions

URL: /orders/ssl/change_validation_email/<order_id>
Request type: POST

Overview

This method can be used for one of the following purposes:

  • In case if email DCV method is already used this method can change the current DCV email address.
  • Another usage option is changing of the current DCV method.

Request parameters

  • auth_key - authentication key returned by 🔗auth method
  • order_id - unique order ID
  • approver_email – in case if email DCV method is supposed to be used, provide an approver email address in this field. In case if email DCV method is already used, you can change current approver email address by providing another address in this field. In case of non-email DCV method please specified a desired method in this field using one of the following values: 'http', 'https', 'dns'.

Response

If no errors in request following parameters will be returned for each of the DCV methods respectively:

E-mail:

  • dcv_method – 'email'
  • approver_email – Approver email address

HTTP:

{
  "http": {
    "link": "http:\/\/domain.tld\/.well-known\/pki-validation\/37D0C93EE263FF9EEEA799215A9C3225.txt",
    "filename": "37D0C93EE263FF9EEEA799215A9C3225.txt",
    "content": "D30C576BF9EB30A75211CB799848EE5CABFCE3D8EE13212A57C9B7E42EF9BAA2\r\nCOMODOCA.COM\r\nt0827792001533920169"
  }
}

HTTPS:

{
  "https": {
    "link": "http:\/\/domain.tld\/.well-known\/pki-validation\/37D0C93EE263FF9EEEA799215A9C3225.txt",
    "filename": "37D0C93EE263FF9EEEA799215A9C3225.txt",
    "content": "D30C576BF9EB30A75211CB799848EE5CABFCE3D8EE13212A57C9B7E42EF9BAA2\r\nCOMODOCA.COM\r\nt0827792001533920169"
  }
}

DNS:

{
  "dns": {
    "record": "_37D0C93EE263FF9EEEA799215A9C3225.domain.tld CNAME
d30c576bf9eb30a75211cb799848ee5c.abfce3d8ee13212a57c9b7e42ef9baa2.t0837512001533895392.comodoca.com"
  }
}
Clone this wiki locally