[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager

Remove Certificate V2

Description

This API is used to delete a certificate.

Request

Request

URL

URL


delete
https://localhost:8080/lcm/locker/api/v2/certificates/{vmid}
Copy

Path Parameters

Path Parameters

string
vmid Required

vmid


Authentication

Authentication

This operation uses the following authentication methods.

Authorization

Scopes: global

Response

Response

Response Body

Response Body

204 No Content 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

string
certChain Optional

certInfo Optional

string
key Optional

string
leafCert Optional

validations Optional

validity Optional

string
vmid Optional
Errors

Errors

401

Unauthorized


403

Forbidden


404

Not Found

Code Samples

Code Samples

cURL Command

curl -X DELETE https://localhost:8080/lcm/locker/api/v2/certificates/{vmid}


[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
Feedback

Was this page helpful?