Skip to main content
PATCH
/
domains
/
{domain}
/
dkim-keys
/
{selector}
Update DKIM Key Status
curl --request PATCH \
  --url https://api.mailchannels.net/tx/v1/domains/{domain}/dkim-keys/{selector} \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '{}'
{
  "errors": [
    "<string>"
  ]
}

Headers

X-Api-Key
string
required

Path Parameters

domain
string
required
selector
string
required
Required string length: 1 - 63

Body

application/json
status
enum<string>
required

New status of the DKIM key pair

Available options:
revoked,
retired,
rotated

Response

Key pair status updated successfully