Skip to main content

Update a TLS certificate

post/v1/team/tls_certificates/{id}

Request​

Authorization

  • Authorizationstringheaderrequired

    Key in the format Bearer <API-key>. Create a key on the API keys page.

Path Parameters

  • id integer<int64>required

Request body

    descriptionstring

    Description

    Example: Wildcard for *.tuna.am

Response

    certificate_pemstring

    Certificate

    Example: -----BEGIN CERTIFICATE-----
    created_atstring<date-time>

    Date added

    descriptionstring

    Description

    Example: Wildcard for *.tuna.am
    idinteger<int64>

    Certificate ID

    Example: 42
    issuer_common_namestring

    Certificate issuer

    Example: R10
    linked_with_domain_zoneboolean

    Has linked domain zones

    not_afterstring<date-time>

    Validity end date

    not_beforestring<date-time>

    Validity start date

    private_key_pem_typestring

    Key type

    Possible values: [rsa, ecdsa, ed25519, unknown]

    Example: ecdsa
    provisioned_bystring

    What created or modified the object: terraform means the Terraform provider, empty means another client

    serial_numberstring

    Serial number

    Example: 04:9F:3A:2B:1C:8E
    subject_alternative_namesstring[]

    Subject alternative names (SAN)

    subject_common_namestring

    Subject common name (CN)

    Example: demo-app.tuna.am
    subject_countrystring

    Subject country (C)

    Example: RU
    subject_localitystring

    Subject locality (L)

    Example: Moscow
    subject_organizationstring

    Subject organization (O)

    Example: Yucca Stream
    subject_organizational_unitstring

    Organizational unit (OU)

    Example: IT
    subject_provincestring

    Subject state or province (ST)

    Example: Moscow