CreateMailboxShareRuleRequest

Request to add a share or exclusion rule to a mailbox configuration. Creating a rule that
already exists returns the existing rule; creating one whose kind and value exist with the
other flag flips that rule (latest intent wins).

Properties

Name Type Description
kind*enum

What a mailbox share rule matches on. A share rule grants shared-access callers every message
in the mailbox that matches it; an exclusion rule hides every message that matches it from
everyone but the owner. Both are evaluated live at query time.

Address Domain Conversation Folder Message

What a mailbox share rule matches on. A share rule grants shared-access callers every message
in the mailbox that matches it; an exclusion rule hides every message that matches it from
everyone but the owner. Both are evaluated live at query time.

Address Domain Conversation Folder Message

value*string

An email address (Address), a domain without the @ (Domain), a conversation id
(Conversation), a folder UniqueId (Folder) or a message UniqueId (Message). Addresses and
domains are stored lowercased.

An email address (Address), a domain without the @ (Domain), a conversation id
(Conversation), a folder UniqueId (Folder) or a message UniqueId (Message). Addresses and
domains are stored lowercased.

isExclusionboolean

False (the default) shares what the rule matches; true hides it from everyone but the
owner. Not required, so older clients that send no flag keep creating shares.

False (the default) shares what the rule matches; true hides it from everyone but the
owner. Not required, so older clients that send no flag keep creating shares.

JSON Example

{
  "kind": "Address",
  "value": "string",
  "isExclusion": false
}

Used By Operations