NSX-T Data Center REST API
Adds or updates a CA bundle
Adds or updates a new bundle of trusted CA certificates.The bundle must be a concatenation of one or more
PEM-encoded certificates. The PEM-encoded bundle is replaced
with the one provided in the request.
Request:
Method:
PATCH
URI Path(s):
/policy/api/v1/infra/cabundles/<cabundle-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
CaBundle+
Example Request:
PATCH https://<policy-mgr>/policy/api/v1/infra/cabundles/example-cabundle-id { "pem_encoded": "-----BEGIN CERTIFICATE-----\n[...]\n-----END CERTIFICATE-----", }Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
CaBundle+
Response Code:
201 Created
Response Headers:
Content-type: application/json
Response Body:
CaBundle+