-
Notifications
You must be signed in to change notification settings - Fork 69
Data Removals
Jens Balvig edited this page Oct 11, 2023
·
1 revision
https://postmarkapp.com/developer/api/data-removals-api
For these API requests you will need to use the account API token.
account_token = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
client = Postmark::AccountApiClient.new(account_token)
client.request_data_removal(
requested_for: "[email protected]",
requested_by: "[email protected]",
notify_when_completed: true
)
# => { id: 1234, status: "Pending" }
client.get_data_removal_status(1234)
# => { id: 1234, status: "Done" }
For additional information about the capabilities of the Postmark API, see Postmark Developers Documentation.
- Email sending
- Test email sending
- Bounces
- Templates
- Templates push
- Server
- Servers
- Message Streams
- Webhooks
- Messages
- Domains
- Sender Signatures
- Stats
- Trigger Tags
- Suppressions
- Data Removals
- Trigger Inbound Rules
- Parsing Inbound
- Using Postmark with Mail library
- Accessing Postmark Message ID
- Error Handling
- Integration Testing
- Troubleshooting
- Known issues and how to resolve them