Activate a key to be used to DKIM sign emails with. Note: dns records must be valid for a domain key to be activated
The domain authority name you want to activate. Must be a valid domain
The selector you want to activate for the domain key. Must be a valid dot atom
curl -i -X PUT \ -u '<username>:<password>' \ 'https://api.mailgun.net/v4/domains/{authority_name}/keys/{selector}/activate'
A 200 response
{ "message": "domain key activated", "authority": "authority.domain.tld", "selector": "selector", "active": true }