PUT - Add DKIM details
Purpose
This API is used to configure DKIM details for a particular domain added to Zoho Mail.
Request URL
https://<hostname>/api/organization/<zoid>/domains/<domainName>
Scope
organization.domains
Request Parameters
Parameter | Data Type | Description |
zoid* | Integer | The unique Zoho Organization Identifier of your organization. |
domainName* | String | Name of the domain, for which you want to add DKIM details. |
* - Mandatory parameters
Request Body (JSON Object)
Parameter | Data Type | Allowed Values | Description |
mode* | String | addDkimDetail | To add DKIM detail for a particular domain. |
selector* | String | Any string of your convenience | It is an attribute for the DKIM Signature. |
hashType | String | The default value is sha256 | This determines the type of hash generated. |
isDefault | Boolean | True/False | The default value is false. If set to true, this DKIM detail will be used as the default key. |
* - Mandatory parameters
Response Codes
Please refer Response Codes.
Sample Request
Copied{
"mode": "addDkimDetail",
"selector": "dkimselector",
"isDefault": false
}
Sample Response
Copied{
"status": {
"code": 200,
"description": "success"
},
"data": {
"isDefault": false,
"isVerified": false,
"selector": "dkimselector",
"publicKey": "v=DKIM1; k=rsa; p=MIG/MA0GCSqGSIb3DQEBAQUAA4GtADCBqQKBoQC6oEhT775myv/gdT0BuBNbQVNRNwbTQXwD80jkaaO86vrLylVRuFQqYgmSsSdbDvxKSYNKzZ4PsNHs36NvIhFp/+E0Nv5kjD/mT68UV4qZPd2ZGc07iiUb+bUtLUsI6pnE2Z+ln6VUAelzpid2l8BEI43u+HQzy0PTYdZj0RFe6eVgpajKLdCqlTAy7BrcdhI7M7A2ZJJTHqaBZbEqk5O1AgMBAAE=",
"hashType": "sha256",
"domainId": "100000500000888999",
"dkimId": "100000500000888000"
}
}