PUT
/
cdn
/
sslCertificates
/
{id}
curl --request PUT \
  --url https://api.gcore.com/cdn/sslCertificates/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Example CA cert 2"
}'
{
  "id": 1,
  "name": "Example CA certificate",
  "deleted": true,
  "cert_issuer": "example.com",
  "cert_subject_cn": "example.com",
  "cert_subject_alt": "DNS:example.com",
  "validity_not_before": "2020-06-26 12:03:53+00:00",
  "validity_not_after": "2021-06-26 12:03:53+00:00",
  "sslCertificateChain": "",
  "hasRelatedResources": false
}

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

id
integer
required

CA certificate ID.

Body

application/json

Response

200 - application/json

Successful.

The response is of type object.

PUT
/
cdn
/
sslCertificates
/
{id}
curl --request PUT \
  --url https://api.gcore.com/cdn/sslCertificates/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Example CA cert 2"
}'
{
  "id": 1,
  "name": "Example CA certificate",
  "deleted": true,
  "cert_issuer": "example.com",
  "cert_subject_cn": "example.com",
  "cert_subject_alt": "DNS:example.com",
  "validity_not_before": "2020-06-26 12:03:53+00:00",
  "validity_not_after": "2021-06-26 12:03:53+00:00",
  "sslCertificateChain": "",
  "hasRelatedResources": false
}

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

id
integer
required

CA certificate ID.

Body

application/json

Response

200 - application/json

Successful.

The response is of type object.