Trash email message
org.intentschema.communication.email.message.trash.v1
JSON: bare · @sha256:5224c43345aa…
Hash: sha256:5224c43345aa486a41e2fef55788de04ce96761af22f3c39503ef1a3ca5bcb89
Move a message to trash (reversible until trash is purged, typically 30 days). For permanent deletion bypassing trash, use email.message.purge.
Payload
| Field | Type | Description |
target * | Target (required: external_id) | |
object | object | |
idempotency_key | string | |
object
open object — no declared properties
Result
| Field | Type | Description |
external_id | string | |
trashed_at | string (date-time) | |
Examples
trash a message
{
"target": {
"system": "gmail",
"external_id": "msg_abc123"
}
}
Profiles