- Update a limit for an account given the metric name in the path
List limit thresholds for an account
Create a limit threshold for an account
Get a limit threshold for an account
Update a limit threshold for an account
Delete a limit threshold for an account
List all limits for a given subaccount
Create a limit for an account or subaccount
Get a limit for a subaccount for the given metric if it exists, otherwise returns 404. Takes the SubAccountID from the X-Mailgun-On-Behalf-Of header.
Delete a limit for an account given the metric name in the path
Get parent-level limit warning settings for an account
Update parent-level limit warning settings for an account
Create parent-level limit warning settings for an account
Delete parent-level limit warning settings for an account
Update a limit for an acc...
Security
basicAuth
The metric being monitored.
| Enum Value | Description |
|---|---|
| email_preview_success_count | The number of successful email previews |
| seed_test_count | The number of inbox placement tests |
- US Mailgunhttps://api.mailgun.net/v2/thresholds/limits/{metric}
- EU Mailgunhttps://api.eu.mailgun.net/v2/thresholds/limits/{metric}
curl -i -X PUT \
-u '<username>:<password>' \
'https://api.mailgun.net/v2/thresholds/limits/{metric}' \
-H 'Content-Type: application/json' \
-d '{
"metric": "email_preview_success_count",
"limit": "2500",
"subaccount_id": "67890"
}'Response
{ "message": "string" }