cURL
curl --request PATCH \ --url https://encryption.platform.dev.ai71services.ai/encrova-service/api/v1/ca/{ca_id} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --data ' { "status": "active", "requireTemplateForIssuance": true } '
{ "ca": { "id": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "parentCaId": "<string>", "projectId": "<string>", "type": "<string>", "status": "<string>", "friendlyName": "<string>", "organization": "<string>", "ou": "<string>", "country": "<string>", "province": "<string>", "locality": "<string>", "commonName": "<string>", "dn": "<string>", "serialNumber": "<string>", "maxPathLength": 123, "keyAlgorithm": "<string>", "notBefore": "<string>", "notAfter": "<string>", "activeCaCertId": "<string>", "requireTemplateForIssuance": true } }
Update CA
Status of the Certificate Authority (active or disabled)
active
disabled
Whether a template is required for issuing certificates from this CA
Certificate Authority updated successfully
The created Certificate Authority details
Show child attributes