Skip to content
Start here

Email

EmailAccount Mapping

Get mapping
GET/accounts/{account_id}/dlp/email/account_mapping
Create mapping
POST/accounts/{account_id}/dlp/email/account_mapping
ModelsExpand Collapse
AccountMappingGetResponse { addin_identifier_token, auth_requirements }
addin_identifier_token: string
formatuuid
auth_requirements: { allowed_microsoft_organizations, type } or { type }
One of the following:
{ allowed_microsoft_organizations, type }
allowed_microsoft_organizations: array of string
type: "Org"
Type { type }
type: "NoAuth"
AccountMappingCreateResponse { addin_identifier_token, auth_requirements }
addin_identifier_token: string
formatuuid
auth_requirements: { allowed_microsoft_organizations, type } or { type }
One of the following:
{ allowed_microsoft_organizations, type }
allowed_microsoft_organizations: array of string
type: "Org"
Type { type }
type: "NoAuth"

EmailRules

List all email scanner rules
GET/accounts/{account_id}/dlp/email/rules
Get an email scanner rule
GET/accounts/{account_id}/dlp/email/rules/{rule_id}
Create email scanner rule
POST/accounts/{account_id}/dlp/email/rules
Update email scanner rule
PUT/accounts/{account_id}/dlp/email/rules/{rule_id}
Delete email scanner rule
DELETE/accounts/{account_id}/dlp/email/rules/{rule_id}
Update email scanner rule priorities
PATCH/accounts/{account_id}/dlp/email/rules
ModelsExpand Collapse
RuleListResponse { action, conditions, created_at, 6 more }
action: { action, message }
action: "Block"
message: optional string
conditions: array of { operator, selector, value }

Triggered if all conditions match.

operator: "InList" or "NotInList" or "MatchRegex" or "NotMatchRegex"
One of the following:
"InList"
"NotInList"
"MatchRegex"
"NotMatchRegex"
selector: "Recipients" or "Sender" or "DLPProfiles"
One of the following:
"Recipients"
"Sender"
"DLPProfiles"
value: array of string or string
One of the following:
array of string
string
created_at: string
formatdate-time
enabled: boolean
name: string
priority: number
formatint32
minimum0
rule_id: string
formatuuid
updated_at: string
formatdate-time
description: optional string
RuleGetResponse { action, conditions, created_at, 6 more }
action: { action, message }
action: "Block"
message: optional string
conditions: array of { operator, selector, value }

Triggered if all conditions match.

operator: "InList" or "NotInList" or "MatchRegex" or "NotMatchRegex"
One of the following:
"InList"
"NotInList"
"MatchRegex"
"NotMatchRegex"
selector: "Recipients" or "Sender" or "DLPProfiles"
One of the following:
"Recipients"
"Sender"
"DLPProfiles"
value: array of string or string
One of the following:
array of string
string
created_at: string
formatdate-time
enabled: boolean
name: string
priority: number
formatint32
minimum0
rule_id: string
formatuuid
updated_at: string
formatdate-time
description: optional string
RuleCreateResponse { action, conditions, created_at, 6 more }
action: { action, message }
action: "Block"
message: optional string
conditions: array of { operator, selector, value }

Triggered if all conditions match.

operator: "InList" or "NotInList" or "MatchRegex" or "NotMatchRegex"
One of the following:
"InList"
"NotInList"
"MatchRegex"
"NotMatchRegex"
selector: "Recipients" or "Sender" or "DLPProfiles"
One of the following:
"Recipients"
"Sender"
"DLPProfiles"
value: array of string or string
One of the following:
array of string
string
created_at: string
formatdate-time
enabled: boolean
name: string
priority: number
formatint32
minimum0
rule_id: string
formatuuid
updated_at: string
formatdate-time
description: optional string
RuleUpdateResponse { action, conditions, created_at, 6 more }
action: { action, message }
action: "Block"
message: optional string
conditions: array of { operator, selector, value }

Triggered if all conditions match.

operator: "InList" or "NotInList" or "MatchRegex" or "NotMatchRegex"
One of the following:
"InList"
"NotInList"
"MatchRegex"
"NotMatchRegex"
selector: "Recipients" or "Sender" or "DLPProfiles"
One of the following:
"Recipients"
"Sender"
"DLPProfiles"
value: array of string or string
One of the following:
array of string
string
created_at: string
formatdate-time
enabled: boolean
name: string
priority: number
formatint32
minimum0
rule_id: string
formatuuid
updated_at: string
formatdate-time
description: optional string
RuleDeleteResponse { action, conditions, created_at, 6 more }
action: { action, message }
action: "Block"
message: optional string
conditions: array of { operator, selector, value }

Triggered if all conditions match.

operator: "InList" or "NotInList" or "MatchRegex" or "NotMatchRegex"
One of the following:
"InList"
"NotInList"
"MatchRegex"
"NotMatchRegex"
selector: "Recipients" or "Sender" or "DLPProfiles"
One of the following:
"Recipients"
"Sender"
"DLPProfiles"
value: array of string or string
One of the following:
array of string
string
created_at: string
formatdate-time
enabled: boolean
name: string
priority: number
formatint32
minimum0
rule_id: string
formatuuid
updated_at: string
formatdate-time
description: optional string
RuleBulkEditResponse { action, conditions, created_at, 6 more }
action: { action, message }
action: "Block"
message: optional string
conditions: array of { operator, selector, value }

Triggered if all conditions match.

operator: "InList" or "NotInList" or "MatchRegex" or "NotMatchRegex"
One of the following:
"InList"
"NotInList"
"MatchRegex"
"NotMatchRegex"
selector: "Recipients" or "Sender" or "DLPProfiles"
One of the following:
"Recipients"
"Sender"
"DLPProfiles"
value: array of string or string
One of the following:
array of string
string
created_at: string
formatdate-time
enabled: boolean
name: string
priority: number
formatint32
minimum0
rule_id: string
formatuuid
updated_at: string
formatdate-time
description: optional string