cURL
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 }
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
CA certificate ID.
Successful.
The response is of type object.
object
Was this page helpful?