Skip to main content
POST
Python

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234_abcdef

Body

application/json
name
string
required

CA certificate name.

It must be unique.

Example:

"Example CA cert"

sslCertificate
string
required

Public part of the CA certificate.

It must be in the PEM format.

Maximum string length: 524288
Example:

"-----BEGIN CERTIFICATE-----\nMIIBbTCCARKgAwIBAgIUKWxEX1vv8B8fshiKOMmNkHxC/qMwCgYIKoZIzj0EAwIw\nKjETMBEGA1UECgwKRXhhbXBsZSBDQTETMBEGA1UEAwwKRXhhbXBsZSBDQTAeFw0y\nNjAxMDEwMDAwMDBaFw0zNjAxMDEwMDAwMDBaMCoxEzARBgNVBAoMCkV4YW1wbGUg\nQ0ExEzARBgNVBAMMCkV4YW1wbGUgQ0EwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNC\nAARJcgXCyvBQrctF0gp7mkY/JbQWJ1VDaLWi4ABhcqgM8AsGORNCijBzTZ2HEYAl\np42pl/qH2TJkGewXdX1IvNXQoxYwFDASBgNVHRMBAf8ECDAGAQH/AgEAMAoGCCqG\nSM49BAMCA0kAMEYCIQCRgojXvfwQJ2EIR8aFfmSdwgqCQfLAMNu2mcxCBXFMkQIh\nAI3U85vXK285u6uf61iTiYpV/f2XaqA/sxplIZYCOlwM\n-----END CERTIFICATE-----\n"

Response

201 - application/json

Successful.

id
integer

CA certificate ID.

Example:

1

name
string

CA certificate name.

Example:

"Example CA certificate"

deleted
boolean
deprecated

Defines whether the certificate has been deleted.

Possible values:

  • true - Certificate has been deleted.
  • false - Certificate has not been deleted.
Example:

false

cert_issuer
string | null

Name of the certification center that issued the CA certificate.

Example:

"Example CA"

cert_subject_cn
string | null

Domain name that the CA certificate secures.

Example:

"Example CA"

cert_subject_alt
string | null

Alternative domain names that the CA certificate secures.

Example:

null

validity_not_before
string<date-time>

Date when the CA certificate become valid (ISO 8601/RFC 3339 format, UTC.)

Example:

"2026-01-01T00:00:00Z"

validity_not_after
string<date-time>

Date when the CA certificate become untrusted (ISO 8601/RFC 3339 format, UTC.)

Example:

"2036-01-01T00:00:00Z"

sslCertificateChain
string

Parameter is deprecated.

Example:

""

Defines whether the CA certificate is used by a CDN resource.

Possible values:

  • true - Certificate is used by a CDN resource.
  • false - Certificate is not used by a CDN resource.
Example:

false