Skip to content

Revoke DIPP from Subaccount

Request

Revokes delegation of a dedicated IP pool (DIPP) from a specified subaccount. The DIPP will no longer be available to the subaccount. Unlike legacy endpoints, this supports accounts with multiple delegated DIPPs.

Request parameters are encoded as form data.

Security
basicAuth
Path
pool_idstringrequired

The ID of the dedicated IP pool to revoke

Bodymultipart/form-datarequired
subaccount_idstringrequired

The ID of the subaccount to revoke the pool from

curl -i -X DELETE \
  -u '<username>:<password>' \
  'https://api.mailgun.net/v3/ip_pools/{pool_id}/delegate' \
  -H 'Content-Type: multipart/form-data' \
  -F subaccount_id=string

Responses

A 200 response

Bodyapplication/json
string(string)
Response
{ "message": "success" }