Skip to content

Update account feature

Request

Update account feature

Security
basicAuth
Bodyapplication/x-www-form-urlencoded
webhooks_redact_piistring, (json)

JSON object encoded as a string

Example:"{\"enabled\": false}"
ai_insightsstring, (json)

JSON object encoded as a string

Example:"{\"enabled\": false}"
curl -i -X PUT \
  -u '<username>:<password>' \
  https://api.mailgun.net/v5/accounts/features \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'webhooks_redact_pii={"enabled": false}' \
  -d 'ai_insights={"enabled": false}'

Responses

A 200 response

Bodyapplication/json
successboolean

Indicates success of request

Response
{ "success": true }