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

Create Dlp Custom Dict

Description

Create a DLP Custom Dictionary

Request

Request

URL

URL


post
https://{api_host}//api/cws/v1/enterprises/{enterpriseLogicalId}/dlp/dictionaries/custom
Copy

Path Parameters

Path Parameters

string
enterpriseLogicalId Required

Enterprise Logical ID


Request Body

Request Body

createDlpCustomDictBody of mimetype application/json Required
Response

Response

Response Body

Response Body

201 Created returns CreateDlpCustomDictResponse of type application/json

Custom dictionary 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 '{"category":"Canadian Health Service","criteria":[{"caseSensitive":false,"count":1,"criteriaType":"string","criteriaValue":"test"}],"description":"description","name":"dictionary1","region":"Australia"}' https://{api_host}/api/cws/v1/enterprises/{enterpriseLogicalId}/dlp/dictionaries/custom


Feedback

Was this page helpful?