REST API - enum_certs

vcenter certificate authority certificate: enum certs

List all the certs in the server. Warning: This operation is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Request:

HTTP request

GET https://{server}/rest/vcenter/certificate-authority/certificate

?action=enum-certs
&status=string

Request Query Parameters:

Name Type Description
bold = required
status string The information is about status of certificate in query.

Response:

HTTP Status Code: 200

Representation:

{
    "value"[
        "string",
        "string"
    ]
}

Response Type:

Name Type Description
bold = required
value string[] list of certificates in String format.

Errors:

HTTP Status Code Type Description
400 invalid_argument if provided argument is not in [CERTIFICATE_ACTIVE, CERTIFICATE_REVOKED, CERTIFIFCATE_EXPIRED, CERTIFICATE_ALL].
500 internal_server_error if error happen on server side.
500 error If the system failed to enum certificates.