Skip to main content

Welcome to our updated site!

Skyhigh Security

Modify a Policy Dictionary Using API

It is possible to update existing Policy Dictionaries using the API in order to automate the process of adding new content to your dictionaries.

NOTE: It is not possible to delete or create dictionaries using the API. 

For complete details on the APIs, see Skyhigh SSE APIs

For details about Policy Dictionaries, see Classifications.

Get list of all dictionaries without content

Endpoint

https://www.myshn.net/shnapi/rest/dlp/dictionary

Method

GET

Required Headers

Authorization: Basic Auth or Bearer Token

Payload

None

Get list of all dictionaries including content

Endpoint

https://www.myshn.net/shnapi/rest/dlp/dictionary?content_required=1

Method

GET

Required Headers

Authorization: Basic Auth or Bearer Token

Payload

None

Get the content of a single dictionary

Endpoint

https://www.myshn.net/shnapi/rest/dlp/dictionary/<dictionary_id>/download

Method

GET

Required headers

Authorization: Basic Auth or Bearer Token

Payload

None

Update an existing dictionary

Endpoint

https://www.myshn.net/shnapi/rest/dlp/dictionary|https://www.myshn.net/shnapi/rest/dlp/dictionary

Method

PUT

Required Headers

Authorization: Basic Auth or Bearer Token

Required Parameters

id: The Dictionary ID for the request. This is the unique identifier for the target dictionary
name: The unique name of the target dictionary
content: A comma-separated list of the new content to be added to the target dictionary

Sample Request

{
  "id": 2237,
  "name": "Target Dictionary",
  "content": "gmail.com,yahoo.com,hotmail.com,outlook.com"
}
  • Was this article helpful?