List All Certificates V2 Using GET

List All Certificates V2 Using GET

This API is used to list paginated certificates.

Request
URI
GET
https://{api_host}//10.155.180.238/lcm/locker/api/v2/certificates
COPY
Query Parameters
string of array
aliasQuery
Optional

aliasQuery

integer
from
Optional

from

integer
size
Optional

size


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns CertificatePageDTO of type(s) application/json
{
    "certificates": [
        {
            "algorithm": "SHA256WITHRSA",
            "alias": "certificate1",
            "healthy": false,
            "issuer": "C=IN, O=VMware, CN=vRealize Suite Lifecycle Manager Locker CA",
            "referenced": false,
            "sha1": "4170ceb21de45b3a8edeab707b7b9fc1d68052bb",
            "subject": "C=IN, ST=IN, L=IN, O=vmware, OU=vmware, CN=vmware",
            "tenant": "string",
            "transactionId": "string",
            "vmid": "6c9fca27-678d-4e79-9a0f-5f690735e67c"
        }
    ],
    "page": 0,
    "total": 1
}
certificates
Optional

certificates

integer As int64 As int64
page
Optional

Page

integer As int64 As int64
total
Optional

Total


400

Bad Request

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


401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure