Skip to content

Update a DKIM selector

Request

Selector is the unique identifier of your key. It has to be different from other keys selector.

Security
basicAuth
Path
namestringrequired

The domain name

Bodymultipart/form-datarequired
dkim_selectorstring

Update the DKIM selector for a domain. If omitted no change is committed.

curl -i -X PUT \
  -u '<username>:<password>' \
  'https://api.mailgun.net/v3/domains/{name}/dkim_selector' \
  -H 'Content-Type: multipart/form-data' \
  -F dkim_selector=string

Responses

A 200 response

Bodyapplication/json
messagestringrequired

Response message

Response
{ "message": "DKIM selector changed" }