v1

latestOpenAPI 3.0.12026-07-2491247233.8 KB
Message Groups

Restore multiple message groups

Restore all previously-trashed messages in multiple groups and turn off automatic trashing of future messages in the groups. "For an Office 365 message source, each message will be put back in the folder it was in before. For a Google Workspace message source, any applied labels (e.g. "Trash") will be removed from each message."

post/v0/message-groups/restore

Request body

classification'malicious' | 'benign' | 'spam' | 'graymail' | 'simulation' | 'unwanted' | 'violation' | 'non-violation'

Classification to apply to the messages being reviewed. Optional.

message_group_idsstring[] required

Canonical IDs of the message groups to restore

report_label'spam' | 'phishing' | 'false_positive' | 'false_negative' | 'phishing_simulation' | 'graymail' | 'violation' | 'non-violation'

Label to apply to messages being reviewed. Optional.

review_commentstring nullable

Comment describing reason for action

Response

Accepted

task_idstring uuid required

Task ID. Use the /v0/tasks/:id endpoint to check the task status.