Upload Dictionary Content

Upload new content to a dictionary and override the existing content.

Override dictionary content with provided content.

post

Override dictionary content with provided content.

Path parameters
dictIdstringRequired

Unique dictionary identifier

Header parameters
sessionTokenstringRequired

Session authentication token.

keyManagerTokenstringRequired

Key Manager authentication token.

Body
datastring · binaryRequired
Responses
200
Success
application/json
post
POST /agent/v1/dlp/dictionaries/{dictId}/data/upload HTTP/1.1
Host: youragentURL.symphony.com
sessionToken: text
keyManagerToken: text
Content-Type: multipart/form-data
Accept: */*
Content-Length: 17

{
  "data": "binary"
}
{
  "data": {
    "creationDate": 1,
    "creatorId": "text",
    "dictRef": {
      "dictId": "text",
      "name": "text",
      "version": "text"
    },
    "lastUpdatedDate": 1,
    "type": "text"
  }
}

📘 Note

The DLP functionality supports two dictionary types for release 1.48.0: "Word" and "Regex". Because we could add more dictionary types in future without changes to the API version, make sure that your code can accommodate other new types.

🚧 Required Permissions

Calling this endpoint requires a Service User Account set with the Expression Filter Policy Management role. For more information about Service User accounts and their roles, see the Symphony Administration Guide.

See Bot Permissions for a list of roles and associated privileges.

Last updated

Was this helpful?