PUT - Make DKIM as Default

Purpose

This API is used to make an existing DKIM configuration as the default one for the domain.

Request URL 

https://mail.zoho.com/api/organization/<zoid>/domains/<domainName>

Request Parameters

ParameterData TypeDescription
zoid*LongThe unique identifier used for the organization
domainName*String The name of the domain where you'd like to perform this action

* - Mandatory parameters

Request Body (JSON Parameters)

ParameterData TypeAllowed ValuesDescription
mode*StringmakeDkimDefaultTo make a DKIM as the default for a domain
dkimId*Long-The unique identifier for the a specific DKIM configuration

* - Mandatory parameters

Note:

The 'dkimId' parameter can be fetched from the Get Specific Domain Details API.

 Response Codes

Please refer Response Codes.

Sample Request

CopiedSample URL:
https://mail.zoho.com/api/organization/123456789/domains/zylker.com

Sample Request Body:
{
"mode" : "makeDkimDefault",
"dkimId" : "76544687908054221"
}