Get Certificate Details By Vmid V2 Using GET

Get Certificate Details By Vmid V2 Using GET

This API is used to get details of a certificate by an ID.

Request
URI
GET
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 CertificateResponseDTO of type(s) application/json
"CertificateResponseDTO Object"
string
alias
Optional

Certificate Alias

string
certChain
Optional

certChain

object
certInfo
Optional

certInfo

string
key
Optional

key

string
leafCert
Optional

leafCert

string
transactionId
Optional

transactionId

array of object
validations
Optional

validations

object
validity
Optional

validity

string
vmid
Optional

vmid


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


500

Internal Server Error

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 -H 'Authorization: <value>' https://{api_host}/lcm/locker/api/v2/certificates/{vmid}