Let's Encrypt certificates

Revoke Let's Encrypt certificate

Revoke Let's Encrypt certificate for the CDN resource.

A revoked certificate can be reused for a this or another CDN resource.

patch/cdn/resources/{res_id}

Request

  • Base URL
    https://api.gcore.com
  • URL
    https://api.gcore.com/cdn/resources/{res_id}
  • Auth
    HTTP apikey

Path parameters

res_idinteger required

CDN resource ID.

Request body

sslDatainteger nullable required

ID of Let's Encrypt certificate linked to the CDN resource.

It must be null to revoke Let's Encrypt certificate.

sslEnabledboolean required

Defines whether the HTTPS protocol is enabled for CDN resource.

Possible values:

  • true — HTTPS is enabled for the CDN resource. SSL certificate can be linked.
  • false — HTTPS is disabled for the CDN resource. SSL certificate cannot be linked.

It must be false to revoke the Let's Encrypt certificate.

Response

Successful.

Changes

No recorded changes to this operation across all 76 revisions of this API.