Перейти к основному содержимому

Let’s Encrypt® Certificates API (v1.0)

License: Private.

Managing Let's Encrypt® certificates

Let's Encrypt® certificates

Return Let's Encrypt® certificate list

Get Let's Encrypt® certificate list

Authorizations:
X-Auth-Token

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Delete Let's Encrypt® certificate

Delete Let's Encrypt® certificate by ID

Authorizations:
X-Auth-Token
path Parameters
id
required
string

Let's Encrypt® certificate ID

Responses

Response samples

Content type
application/json
{
  • "error_text": "Some error text",
  • "status_text": "Bad Request"
}

Issue new Let's Encrypt® certificate and put it in storage

Authorizations:
X-Auth-Token
query Parameters
dnsv2
boolean

Issue a Let's Encrypt® certificate for a zone in DNS Hosting (actual). Existed Let's Encrypt® certificates in DNS Hosting (legacy) are supported, but new certificates will not be issued, please use DNS Hosting (actual).

Request Body schema: application/json
required

Payload

domains
required
Array of strings
name
required
string

Responses

Request samples

Content type
application/json
{
  • "domains": [
    ],
  • "name": "Cert for example"
}

Response samples

Content type
application/json
{
  • "created_at": "2022-02-02 22:22:22.222",
  • "deleted_at": "2022-02-02 22:22:22.222",
  • "domains": [
    ],
  • "error_description": "some error",
  • "expire_at": "2022-22-02 22:22:22.222",
  • "id": "2872c5e4-d571-44c3-acaf-e2ea2c48bd94",
  • "knox_cert_id": "2872c5e4-d571-44c3-acaf-e2ea2c48bd94",
  • "name": "Cert for example",
  • "project_id": "2872c5e4-d571-44c3-acaf-e2ea2c48bd94",
  • "selectel_id": 12345,
  • "status": "issuing",
  • "updated_at": "2022-02-02 22:22:22.222",
  • "version": 0
}