Outlook
Email Delete
Move an email to Trash.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| senderstring · required | string | required | Connected email account identifier — typically the email address of the account (e.g. "you@company.com"). Must be a connected account in the workspace. Example: |
| emailstring · required | string | required | The other party's email address used to locate the specific email to move to trash (e.g. the sender's address if you are the recipient). The email is moved to the TRASH folder, not permanently deleted. |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"providerId"
],
"properties": {
"note": {
"type": "string"
},
"status": {
"enum": [
"success",
"failed"
],
"type": "string"
},
"providerId": {
"type": "string"
}
},
"additionalProperties": false
}