v1

latestOpenAPI 3.1.12026-07-17111158225.7 KB
domain certificates

Let's Encrypt: Order a certificate

Orders a Let's Encrypt certificate with DNSimple.

post/{account}/domains/{domain}/certificates/letsencrypt

Path parameters

accountinteger required

The account id

domainstring required

The domain name or id

Request body

auto_renewboolean

Enable the auto-renewal of the certificate

namestring

The certificate name

alternate_namesstring[]

The certificate alternate names

signature_algorithmstring

Optional string to determine the signature algorithm to be used. Either ECDSA or RSA

Example request

{
  "alternate_names": [
    "docs.example.com",
    "status.example.com"
  ]
}

Response

Successfully created the certificate purchase order.

Example response

{
  "data": {
    "id": 1,
    "certificate_id": 1,
    "state": "new",
    "auto_renew": true,
    "created_at": "2016-06-11T18:47:08Z",
    "updated_at": "2016-06-11T18:47:37Z"
  }
}