Remove Certificate V2 Using DELETE
This API is used to delete a certificate.
Request
URI
DELETE
https://{api_host}/lcm/locker/api/v2/certificates/{vmid}
COPY
Path Parameters
string
vmid
Required
vmid
Responses
200
OK
Returns
Certificate
of type(s)
application/json
"Certificate Object"
string
alias
Optional
alias
string
certChain
Optional
certChain
object
certInfo
Optional
certInfo
string
key
Optional
key
string
leafCert
Optional
leafCert
array of
object
validations
Optional
validations
object
validity
Optional
validity
string
vmid
Optional
vmid
204
No Content
Operation doesn't return any data structure
401
Unauthorized
Operation doesn't return any data structure
403
Forbidden
Operation doesn't return any data structure
404
Not Found
Returns
GenericErrorResponseDTO
of type(s)
application/json
"GenericErrorResponseDTO Object"
string
errorCode
Optional
errorCode
string
errorLabel
Optional
errorLabel
string
message
Optional
message
array of
string
recommendations
Optional
recommendations
Code Samples
COPY
curl -X DELETE -H 'Authorization: <value>' https://{api_host}/lcm/locker/api/v2/certificates/{vmid}
On This Page
Locker Certificates Controller Operations
GET
List All Certificates V2 Using GET
POST
Generate Certificate V2 Using POST
POST
Create Csr And Key V2 Using POST
POST
Import Certificate By Json V2 Using POST
GET
Get Certificate Details By Vmid V2 Using GET
DELETE
Remove Certificate V2 Using DELETE