NSX-T Data Center REST API
Enable or disable Mandatory Access Control
Request:
Method:
PUT
URI Path(s):
/api/v1/transport-nodes/{transport-node-id}/node/hardening-policy/mandatory-access-control
/api/v1/cluster/{cluster-node-id}/node/hardening-policy/mandatory-access-control
/api/v1/node/hardening-policy/mandatory-access-control
/api/v1/cluster/{cluster-node-id}/node/hardening-policy/mandatory-access-control
/api/v1/node/hardening-policy/mandatory-access-control
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
MandatoryAccessControlProperties+
Example Request:
PUT https://<nsx-mgr>/api/v1/node/hardening-policy/mandatory-access-control -d '{"enabled": true}'Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
MandatoryAccessControlProperties+