Deleting the Root Certificate
Function
Deletes the root certificates imported to a third-party software repository and image repository.
Syntax
Operation type: POST
URL: https://{ip}:{port}/certmanager/v1/certificates/delete-cert
Request message body:
{
"type": type
}
Request Parameters
Parameter |
Mandatory/Optional |
Description |
Value |
|---|---|---|---|
type |
Mandatory |
Certificate type |
The value can be software or image.
|
Usage Example
Request:
POST https://10.10.10.10:30035/certmanager/v1/certificates/delete-cert
Request message body:
{
"type": "software"
}
Response:
{
"status": "00000000",
"msg": "delete ca file success"
}
Response status code: 200
Output Description
Parameter |
Type |
Description |
|---|---|---|
status |
String |
Error code |
msg |
String |
Description |
Parent topic: Configuration APIs