Remove Certificate V2 Using DELETE

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


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns Certificate of type(s) application/json
{
    "alias": "string",
    "certChain": "string",
    "certInfo": {
        "algorithm": "SHA256WITHRSA",
        "issuer": "C=IN, O=VMware, CN=vRealize Suite Lifecycle Manager Locker CA",
        "keyAlgorithm": "RSA",
        "keyLength": 2048,
        "san": "DNS: *.vmware.com, DNS: *.dev.lcm.local",
        "sha1": "fea1cfee3532b23027e9f48de03c23d2fb0dc346",
        "sha256": "668430ffe699077b5555c482b3aeada10504f1331dd1a765e5448c55d446ba95",
        "subject": "C=IN, ST=KAR, L=BANGALORE, O=VMware, OU=CMBU, CN=VMware"
    },
    "key": "string",
    "leafCert": "string",
    "validations": [
        {
            "message": "string",
            "strict": false
        }
    ],
    "validity": {
        "expiresOn": "string",
        "healthy": false,
        "issuedOn": "string",
        "period": "1 year, 11 months and 25 days"
    },
    "vmid": "string"
}
string
alias
Optional

alias

string
certChain
Optional

certChain

certInfo
Optional

certInfo

string
key
Optional

key

string
leafCert
Optional

leafCert

validations
Optional

validations

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
{
    "errorCode": "LCM_EXAMPLE_API_ERROR0000",
    "errorLabel": "Example Error!",
    "message": "Something went wrong!",
    "recommendations": []
}
string
errorCode
Optional

errorCode

string
errorLabel
Optional

errorLabel

string
message
Optional

message

array of string
recommendations
Optional

recommendations