[{"label":"Latest (v1.0)","version":"latest"}]
vmware-sase-platform
Create Security Policy
DescriptionCreates a CWS Security Policy
Request
URLURL
https://{api_host}//api/cws/v1/enterprises/{enterpriseLogicalId}/cwsPolicies
Path Parameters
Path Parameters
string
enterpriseLogicalId
Required
Enterprise Logical ID
Errors
httpResponseError
400
Invalid Input
httpResponseError
500
Internal Server Error
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"name":"sample-policy","status":"IN_USE"}' https://{api_host}/api/cws/v1/enterprises/{enterpriseLogicalId}/cwsPolicies
[{"label":"Latest (v1.0)","version":"latest"}]
vmware-sase-platform
On This Page
CWS Security Policy Operations
delete
patch