POST {{baseUrl}}/emails/mailboxes/:email/settings/filters
Creates a message filter. Scopes: Rate Limit Label: Not supported in Gov cluster mail:write
LIGHT
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string | ||
Accept
|
string |
RESPONSES
status OK
{
"id": "<string>",
"criteria": {
"from": "<string>",
"to": "<string>",
"subject": "<string>",
"query": "<string>",
"negatedQuery": "<string>",
"hasAttachment": "<boolean>",
"size": "<integer>",
"sizeComparison": "larger"
},
"action": {
"addLabelIds": [
"<string>",
"<string>"
],
"removeLabelIds": [
"<string>",
"<string>"
],
"forward": "<string>"
}
} |
ENDPOINTS