Deleting A Root Certificate Authority
Delete a specific certificate authority OpsManager.
Only "inactive" certificates can be deleted.
This is used during Step 5 of the Certificate Authority rotation procedure. See Rotating CAs and Leaf Certificates for more details.
Request
URI
DELETE
https://{opsmanager-installation}/api/v0/certificate_authorities/{certificate_authority_guid}
COPY
Path Parameters
string
certificate_authority_guid
Required
The guid of the certificate authority
Responses
200
OK
Returns
UpdatedCertificateRotationStatus
of type(s)
application/json
"UpdatedCertificateRotationStatus Object"
object
certificates
Optional
certificates
422
Unprocessable Entity
Returns
SafetyViolations
of type(s)
application/json
"SafetyViolations Object"
string
error
Optional
error
array of
safety_violations
safety_violations
Optional
safety_violations
Code Samples
COPY
curl -X DELETE -H 'Authorization: <value>' https://{api_host}/api/v0/certificate_authorities/{certificate_authority_guid}