Disable subaccount
documentedDisable a subaccount.
POST /v5/accounts/subaccounts/{subaccount_id}/disableSubaccountsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.mailgun.net/v5/accounts/subaccounts/{{$subaccount_id}}/disable?reason={{$reason}}¬e={{$note}}" \
-X POST \
-u api:{{MAILGUN_API_KEY}} \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"reason": "{{$reason}}", "note": "{{$note}}"}'