NSX-T Data Center REST API
Adds or replaces a CA bundle
Adds or replaces a new bundle of trusted CA certificates.The multipart-uploaded file must be a concatenation of one or more
PEM-encoded certificates.
Request:
Method:
              POST
            URI Path(s):
              
              
                  
                  /policy/api/v1/infra/cabundles/<cabundle-id>
                  
              
            Request Headers:
                n/a
            Query Parameters:
    UploadFileRequestParameters+
  Request Body:
    n/a
  Example Request:
POST https://<policy-mgr>/policy/api/v1/infra/cabundles/example-cabundle-id Content-Type: multipart/form-data; boundary=243332e4709e58a3bd679ef3c7b1259a --243332e4709e58a3bd679ef3c7b1259a Content-Disposition: form-data; name="file"; filename="example-cabundle.pem" -----BEGIN CERTIFICATE----- [...] -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- [...] -----END CERTIFICATE----- [...] --243332e4709e58a3bd679ef3c7b1259a--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+
  