NSX-T Data Center REST API
Create or update static mime content id
API will create/update static mime content idRequest:
Method:
              PATCH
            URI Path(s):
              
              
                  
                  /policy/api/v1/infra/static-mime-contents/<static-mime-content-id>
                  
              
            Request Headers:
                n/a
            Query Parameters:
    OverrideRequestParameters+
  Request Body:
    StaticMimeContent+
  Example Request:
PATCH https://<nsx-mgr>/policy/api/v1/infra/static-mime-contents/coke-response-page-1" { "resource_type": "StaticMimeContent", "id": "coke-response-page-1", "display_name": "coke-response-page-1", "description":"Coke response page for l7 profile 1", "relative_path": "coke-response-page-1", "text_message": "Company internet access usage violation. Contact IT Help Desk for further details.", }Successful Response:
Response Code:
                200 OK
              Response Headers:
                  
                  Content-type: application/json
                Response Body:
    StaticMimeContent+
  