Deleting a CRL profile by using a REST Administration API

System administrators can delete a CRL profile by using a REST Administration API.

You can delete a CRL profile by using a REST Administration API. You cannot delete a CRL profile if it is referenced in a Security profile.

To delete a CRL profile, use the Eclipse Amlen REST API DELETE method with the following Eclipse Amlen configuration URI:

http://<admin-endpoint-IP:Port>/ima/v1/configuration/CRLProfile/<CRLProfName>

Where:

CRLProfName
Required.
Specifies the name of the CRL profile that you want to delete.

The following example demonstrates deleting a CRL profile named MyCRLProfile by using cURL.

curl -X DELETE http://127.0.0.1:9089/ima/v1/configuration/CRLProfile/MyCRLProfile

The following example shows an example response to the DELETE method:


{        
  "Version": "v1",
  "Code": "CWLNA6011",
  "Message": "The requested configuration change has completed successfully."
}