Create Dlp Custom Dict
Create a DLP Custom Dictionary
Request
URI
POST
https://{api_host}/api/cws/v1/enterprises/{enterpriseLogicalId}/dlp/dictionaries/custom
COPY
Path Parameters
string
enterpriseLogicalId
Required
Enterprise Logical ID
Request Body
createDlpCustomDictBody of type(s) application/json
Required
{
"name": "dictionary1",
"region": "string",
"category": "string",
"description": "description",
"criteria": [
{
"caseSensitive": false,
"count": 1,
"criteriaType": "string",
"criteriaValue": "test"
}
]
}
string
name
Required
name
string
region
Required
region
Possible values are : Australia, Belgium, Brazil, Canada, Denmark, Finland, France, Germany, Global, Hong Kong, India, Indonesia, Ireland, Italy, Japan, Malaysia, Netherlands, New York, New Zealand, Norway, Other, Poland, Singapore, South Africa, Spain, Sweden, Switzerland, UK, USA,
string
category
Required
category
Possible values are : Canadian Health Service, Document classification, Financial Data, HIPAA, HIPAA, Health Care, Health Care, Item identifiers, Other, PCI DSS, Personally Identifiable Information, UK National Health Service,
string
description
Required
description
array of object
criteria
Required
criteria
Responses
201
Custom dictionary created
Returns createDlpCustomDictResponse of type(s) application/json
{
"logicalId": "ac611099-9872-4b29-bd87-8c2ba8b62c81"
}
string
logicalId
Required
logicalId
400
Invalid Input
Returns httpResponseError of type(s) application/json
{
"code": "error code",
"errors": [
{
"message": "error message",
"path": "object.path"
}
]
}
string
code
Required
code
Possible values are : INTERNAL_ERROR, INVALID_PARAMS, INVALID_QUERY_PARAMS, INVALID_LICENSE,
array of object
errors
Required
errors
500
Internal Server Error
Returns httpResponseError of type(s) application/json
{
"code": "error code",
"errors": [
{
"message": "error message",
"path": "object.path"
}
]
}
string
code
Required
code
Possible values are : INTERNAL_ERROR, INVALID_PARAMS, INVALID_QUERY_PARAMS, INVALID_LICENSE,
array of object
errors
Required
errors