[{"label":"Latest (v1.0)","version":"latest"}]
vmware-sase-platform

Add Security Rules

Description

Add CWS Content Inspection Rule to a Security Policy

Request

Request

URL

URL


post
https://{api_host}//api/cws/v1/enterprises/{enterpriseLogicalId}/cwsPolicies/{policyId}/contentInspectionRules
Copy

Path Parameters

Path Parameters

string
enterpriseLogicalId Required

Enterprise ID


string
policyId Required

CWS Policy ID


Request Body

Request Body

createContentInspectionRuleBody of mimetype application/json Required
Response

Response

Response Body

Response Body

201 Created

Returns CreateSecurityRuleResponse of type application/json

CWS Content Inspection Rule Created

Errors

Errors

httpResponseError
400

Invalid Input


httpResponseError
500

Internal Server Error

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"ruleIndex":0}' https://{api_host}/api/cws/v1/enterprises/{enterpriseLogicalId}/cwsPolicies/{policyId}/contentInspectionRules


[{"label":"Latest (v1.0)","version":"latest"}]
vmware-sase-platform
Feedback

Was this page helpful?