Skip to main content
PUT
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

Path Parameters

ssl_id
integer
required

SSL certificate ID.

Body

application/json
name
string
required

SSL certificate name.

It must be unique.

Example:

"Example 1"

sslCertificate
string
required

Public part of the SSL certificate.

All chain of the SSL certificate should be added.

Maximum string length: 65536
Example:

"-----BEGIN CERTIFICATE-----\nMIIBbDCCAROgAwIBAgIUO7Jr6p6V1ffLk5H0BlvBwkUAf6EwCgYIKoZIzj0EAwIw\nKjETMBEGA1UECgwKRXhhbXBsZSBDQTETMBEGA1UEAwwKRXhhbXBsZSBDQTAeFw0y\nNjAxMDEwMDAwMDBaFw0yNzAxMDEwMDAwMDBaMBYxFDASBgNVBAMMC2V4YW1wbGUu\nY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEujR4xvCs6bBJdBmjDcinZqvn\nnm4AUQhigmNQtzaghLiB+FgWKuUhDItBGrzHitv7S+6vqSKvzsbB/Fh/TJTio6Mr\nMCkwJwYDVR0RBCAwHoILZXhhbXBsZS5jb22CD3d3dy5leGFtcGxlLmNvbTAKBggq\nhkjOPQQDAgNHADBEAiATxEYwXc/P8OzqWlbRj5N3Y2KAhRxoXI2Nb9mxVZTgjgIg\nZoSyI4JHPmxDJMM5TuL13BMFTjFa5DSJjVrPPdIDA7k=\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\nMIIBbTCCARKgAwIBAgIUKWxEX1vv8B8fshiKOMmNkHxC/qMwCgYIKoZIzj0EAwIw\nKjETMBEGA1UECgwKRXhhbXBsZSBDQTETMBEGA1UEAwwKRXhhbXBsZSBDQTAeFw0y\nNjAxMDEwMDAwMDBaFw0zNjAxMDEwMDAwMDBaMCoxEzARBgNVBAoMCkV4YW1wbGUg\nQ0ExEzARBgNVBAMMCkV4YW1wbGUgQ0EwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNC\nAARJcgXCyvBQrctF0gp7mkY/JbQWJ1VDaLWi4ABhcqgM8AsGORNCijBzTZ2HEYAl\np42pl/qH2TJkGewXdX1IvNXQoxYwFDASBgNVHRMBAf8ECDAGAQH/AgEAMAoGCCqG\nSM49BAMCA0kAMEYCIQCRgojXvfwQJ2EIR8aFfmSdwgqCQfLAMNu2mcxCBXFMkQIh\nAI3U85vXK285u6uf61iTiYpV/f2XaqA/sxplIZYCOlwM\n-----END CERTIFICATE-----\n"

sslPrivateKey
string
required

Private key of the SSL certificate.

Maximum string length: 16384
Example:

"-----BEGIN PRIVATE KEY-----\nMIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg...\n-----END PRIVATE KEY-----\n"

validate_root_ca
boolean
default:false

Defines whether to check the SSL certificate for a signature from a trusted certificate authority.

Possible values:

  • true - SSL certificate must be verified to be signed by a trusted certificate authority.
  • false - SSL certificate will not be verified to be signed by a trusted certificate authority.
Example:

true

automated
enum<boolean>
default:false

Must be false or omitted for a certificate you upload.

Available options:
false

Response

200 - application/json

Successful.

id
integer

SSL certificate ID.

Example:

42

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 issued the SSL certificate.

Example:

"Example CA"

cert_subject_cn
string | null

Domain name that the SSL certificate secures.

Example:

"example.com"

cert_subject_alt
string | null

Alternative domain names that the SSL certificate secures.

Example:

"DNS:example.com,DNS:www.example.com"

validity_not_before
string<date-time> | null

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

Example:

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

validity_not_after
string<date-time> | null

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

Example:

"2027-01-01T00:00:00Z"

sslCertificateChain
string | null

Parameter is deprecated.

Defines whether the SSL certificate is used by a CDN resource or an alias.

Possible values:

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

true

name
string

SSL certificate name.

Example:

"Example 1"

automated
boolean

How the SSL certificate was issued.

Possible values:

  • true - Certificate was issued automatically.
  • false - Certificate was added by a user.
Example:

false