Custom Email

Custom Email AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

The Custom Email API lets organisation admins configure the custom sender email address used by Zoho Cliq, and verify its DKIM and CNAME records.

Custom Email lets an organisation send Cliq emails from its own sender address, for example notifications@zylker.com. The sender domain is validated through a CNAME record and a DKIM record provisioned in TransMail.

Use the Custom Email API to:

  • Retrieve the configuration with its CNAME and DKIM verification records.
  • Add the configuration and generate a DKIM record with a 1024-bit or 2048-bit key.
  • Verify a DKIM record for a key size, or verify the CNAME record.
  • Update the sender display name.
  • Delete the configuration. A sender domain that the custom domain does not use is removed as well.

Update operations: One operation runs for each update request. If you send more than one, the first match in this order runs.

PriorityOperationRequired fields
1Verify DKIMdkim_status set to verified, and email_id. dkim_key_size is optional.
2Verify CNAMEcname_status set to verified, and email_id.
3Update display namename

Access control: Every operation needs the caller to be an organisation admin or a Cliq super-admin.

Possible error codes

Error codeDescription
invalid_inputsA required field is missing or invalid. For example, name or email_id is empty when you add the configuration, no valid operation is sent when you update it, or email_id is missing for a verify operation.
operation_not_allowedThe user is not an organisation admin or a Cliq super-admin.
custom_email_already_configuredA custom email is already configured, so it cannot be added again.
custom_email_not_configuredNo custom email is configured, so it cannot be updated.
custom_email_update_not_allowedThe email_id does not match the configured email address.
custom_email_used_in_other_orgThe sender domain is registered to another organisation.
cname_check_failedThe CNAME record does not point to the expected parent certificate domain.
custom_email_dkim_record_missingNo DKIM record was found in TransMail for the domain.
custom_email_dkim_record_invalidThe DKIM record is invalid.
custom_email_dkim_duplicate_recordA DKIM selector already exists for the domain.
custom_email_dkim_syntax_errorThe DKIM record has a syntax error.
custom_email_selectors_limit_exceededThe maximum number of DKIM selectors is reached for the domain.
rate_limit_exceededThe request rate limit was exceeded. Retry after the lock period.
internal_errorAn unexpected server error occurred.

Download Custom Email OpenAPI Document
End Points
Add custom email configuration
Update custom email configuration
Retrieve custom email configuration
Delete custom email configuration

Add custom email configuration AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Add a custom email configuration for the organisation. Creates the custom email configuration and provisions a DKIM record in TransMail. Only one configuration can exist for an organisation. Every operation needs the caller to be an organisation admin or a Cliq super-admin.

Threshold limit: 10 requests per min per user
Maximum API calls allowed within the window.

Lock period: 10 minutes
Cooldown period applied after threshold exhaustion.

! Possible Error Codes Click to expand
Error Code Description
invalid_inputs The name or email_id is missing or empty.
custom_email_already_configured A custom email is already configured.
custom_email_used_in_other_org The sender domain is registered to another organisation.
custom_email_selectors_limit_exceeded The maximum number of DKIM selectors is reached for the domain.
operation_not_allowed The user is not an organisation admin or a Cliq super-admin.
rate_limit_exceeded The request rate limit was exceeded. Retry after the lock period.
internal_error An unexpected server error occurred.
Error Response Format

When an error occurs, the API returns a JSON response in this format:

{"error": {"code": "error_code", "message": "A human-readable description of the error."}}

where code is the error identifier (as listed above) and message is a human-readable explanation of what went wrong.


OAuth Scope : ZohoCliq.Organisation.CREATE

Arguments

name
string
(Required)
Display name of the custom email sender.
Maximum length: 100
email_id
email
(Required)
Custom sender email address.
Maximum length: 253
Format: valid email address
dkim_key_size
integer
, default is 1024
DKIM key size.
Default: 1024
Allowed values
  • 1024: Uses a 1024-bit DKIM key.
  • 2048: Uses a 2048-bit DKIM key.

Request Example

Click to copy
parameters_data='{"field1":"value1","field2":"value2"}'; headers_data = Map(); headers_data.put("Authorization", "Bearer REPLACE_BEARER_TOKEN"); response = invokeUrl [ url: "https://cliq.zoho.com/adminapi/v3/email-configs" type: POST headers: headers_data content-type: application/json parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://cliq.zoho.com/adminapi/v3/email-configs") .post(body) .addHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
const options = { method: 'POST', headers: { Authorization: 'Bearer REPLACE_BEARER_TOKEN', 'content-type': 'application/json' }, body: '{"field1":"value1","field2":"value2"}' }; fetch('https://cliq.zoho.com/adminapi/v3/email-configs', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("cliq.zoho.com") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Authorization': "Bearer REPLACE_BEARER_TOKEN", 'content-type': "application/json" } conn.request("POST", "/adminapi/v3/email-configs", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "POST", "hostname": "cliq.zoho.com", "port": null, "path": "/adminapi/v3/email-configs", "headers": { "Authorization": "Bearer REPLACE_BEARER_TOKEN", "content-type": "application/json" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({field1: 'value1', field2: 'value2'})); req.end();
var client = new RestClient("https://cliq.zoho.com/adminapi/v3/email-configs"); var request = new RestRequest(Method.POST); request.AddHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN"); request.AddHeader("content-type", "application/json"); request.AddParameter("application/json", "{\"field1\":\"value1\",\"field2\":\"value2\"}", ParameterType.RequestBody); IRestResponse response = client.Execute(request);
var client = new HttpClient(); var request = new HttpRequestMessage { Method = HttpMethod.Post, RequestUri = new Uri("https://cliq.zoho.com/adminapi/v3/email-configs"), Headers = { { "Authorization", "Bearer REPLACE_BEARER_TOKEN" }, }, Content = new StringContent("{\"field1\":\"value1\",\"field2\":\"value2\"}") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } } }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }
package main import ( "fmt" "strings" "net/http" "io/ioutil" ) func main() { url := "https://cliq.zoho.com/adminapi/v3/email-configs" payload := strings.NewReader("{\"field1\":\"value1\",\"field2\":\"value2\"}") req, _ := http.NewRequest("POST", url, payload) req.Header.Add("Authorization", "Bearer REPLACE_BEARER_TOKEN") req.Header.Add("content-type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
const data = JSON.stringify({ "field1": "value1", "field2": "value2" }); const xhr = new XMLHttpRequest(); xhr.withCredentials = true; xhr.addEventListener("readystatechange", function () { if (this.readyState === this.DONE) { console.log(this.responseText); } }); xhr.open("POST", "https://cliq.zoho.com/adminapi/v3/email-configs"); xhr.setRequestHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN"); xhr.setRequestHeader("content-type", "application/json"); xhr.send(data);
curl --request POST \ --url https://cliq.zoho.com/adminapi/v3/email-configs \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy

Response Example

Update custom email configuration AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Update the display name or email, or trigger DKIM or CNAME verification. Returns the full updated configuration. The email_id cannot be changed, so it must match the configured address. When the DKIM record is not yet published in DNS, a verify request can return 200 with the record still not_verified. Check the status in the response. Every operation needs the caller to be an organisation admin or a Cliq super-admin.

Threshold limit: 10 requests per min per user
Maximum API calls allowed within the window.

Lock period: 10 minutes
Cooldown period applied after threshold exhaustion.

! Possible Error Codes Click to expand
Error Code Description
invalid_inputs No valid operation is sent, or email_id is missing for a verify operation.
custom_email_not_configured No custom email is configured.
custom_email_update_not_allowed The email_id does not match the configured email address.
cname_check_failed CNAME verification failed.
custom_email_dkim_record_missing No DKIM record was found in TransMail for the domain.
operation_not_allowed The user is not an organisation admin or a Cliq super-admin.
rate_limit_exceeded The request rate limit was exceeded. Retry after the lock period.
internal_error An unexpected server error occurred.
Error Response Format

When an error occurs, the API returns a JSON response in this format:

{"error": {"code": "error_code", "message": "A human-readable description of the error."}}

where code is the error identifier (as listed above) and message is a human-readable explanation of what went wrong.


OAuth Scope : ZohoCliq.Organisation.UPDATE

Arguments

name
string
New display name of the custom email sender. Required when you are not verifying DKIM or CNAME.
Maximum length: 100
email_id
email
Configured sender email address. Required with dkim_status or cname_status. It cannot be changed, so it must match the configured address.
Maximum length: 253
dkim_status
string
Set to verified to trigger DKIM verification.
Maximum length: 20 characters
Allowed values
  • verified: Triggers verification of the DKIM record.
cname_status
string
Set to verified to trigger CNAME verification.
Maximum length: 20 characters
Allowed values
  • verified: Triggers verification of the CNAME record.
dkim_key_size
integer
, default is 1024
DKIM key size to verify. Used with dkim_status.
Default: 1024
Allowed values
  • 1024: Uses a 1024-bit DKIM key.
  • 2048: Uses a 2048-bit DKIM key.

Request Example

Click to copy
parameters_data='{"field1":"value1","field2":"value2"}'; headers_data = Map(); headers_data.put("Authorization", "Bearer REPLACE_BEARER_TOKEN"); response = invokeUrl [ url: "https://cliq.zoho.com/adminapi/v3/email-configs" type: PUT headers: headers_data content-type: application/json parameters: parameters_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\"field1\":\"value1\",\"field2\":\"value2\"}"); Request request = new Request.Builder() .url("https://cliq.zoho.com/adminapi/v3/email-configs") .put(body) .addHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN") .addHeader("content-type", "application/json") .build(); Response response = client.newCall(request).execute();
const options = { method: 'PUT', headers: { Authorization: 'Bearer REPLACE_BEARER_TOKEN', 'content-type': 'application/json' }, body: '{"field1":"value1","field2":"value2"}' }; fetch('https://cliq.zoho.com/adminapi/v3/email-configs', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("cliq.zoho.com") payload = "{\"field1\":\"value1\",\"field2\":\"value2\"}" headers = { 'Authorization': "Bearer REPLACE_BEARER_TOKEN", 'content-type': "application/json" } conn.request("PUT", "/adminapi/v3/email-configs", payload, headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "PUT", "hostname": "cliq.zoho.com", "port": null, "path": "/adminapi/v3/email-configs", "headers": { "Authorization": "Bearer REPLACE_BEARER_TOKEN", "content-type": "application/json" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.write(JSON.stringify({field1: 'value1', field2: 'value2'})); req.end();
var client = new RestClient("https://cliq.zoho.com/adminapi/v3/email-configs"); var request = new RestRequest(Method.PUT); request.AddHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN"); request.AddHeader("content-type", "application/json"); request.AddParameter("application/json", "{\"field1\":\"value1\",\"field2\":\"value2\"}", ParameterType.RequestBody); IRestResponse response = client.Execute(request);
var client = new HttpClient(); var request = new HttpRequestMessage { Method = HttpMethod.Put, RequestUri = new Uri("https://cliq.zoho.com/adminapi/v3/email-configs"), Headers = { { "Authorization", "Bearer REPLACE_BEARER_TOKEN" }, }, Content = new StringContent("{\"field1\":\"value1\",\"field2\":\"value2\"}") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } } }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }
package main import ( "fmt" "strings" "net/http" "io/ioutil" ) func main() { url := "https://cliq.zoho.com/adminapi/v3/email-configs" payload := strings.NewReader("{\"field1\":\"value1\",\"field2\":\"value2\"}") req, _ := http.NewRequest("PUT", url, payload) req.Header.Add("Authorization", "Bearer REPLACE_BEARER_TOKEN") req.Header.Add("content-type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
const data = JSON.stringify({ "field1": "value1", "field2": "value2" }); const xhr = new XMLHttpRequest(); xhr.withCredentials = true; xhr.addEventListener("readystatechange", function () { if (this.readyState === this.DONE) { console.log(this.responseText); } }); xhr.open("PUT", "https://cliq.zoho.com/adminapi/v3/email-configs"); xhr.setRequestHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN"); xhr.setRequestHeader("content-type", "application/json"); xhr.send(data);
curl --request PUT \ --url https://cliq.zoho.com/adminapi/v3/email-configs \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \ --header 'content-type: application/json' \ --data '{"field1":"value1","field2":"value2"}'

Body Parameters

Click to copy

Response Example

Retrieve custom email configuration AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Retrieve the custom email configuration of the organisation along with its DKIM verification details. Returns the custom email configuration with its CNAME and DKIM details. The data object is empty when no custom email is configured. Every operation needs the caller to be an organisation admin or a Cliq super-admin.

Threshold limit: 30 requests per min per user
Maximum API calls allowed within the window.

Lock period: 5 minutes
Cooldown period applied after threshold exhaustion.

! Possible Error Codes Click to expand
Error Code Description
operation_not_allowed The user is not an organisation admin or a Cliq super-admin.
rate_limit_exceeded The request rate limit was exceeded. Retry after the lock period.
internal_error An unexpected server error occurred.
Error Response Format

When an error occurs, the API returns a JSON response in this format:

{"error": {"code": "error_code", "message": "A human-readable description of the error."}}

where code is the error identifier (as listed above) and message is a human-readable explanation of what went wrong.


OAuth Scope : ZohoCliq.Organisation.READ

Query Parameters

dkim_key_size
integer
Ensures a DKIM record exists for the specified key size. Has no effect when no custom email is configured. Omit the parameter to skip provisioning.
Allowed values
  • 1024: Uses a 1024-bit DKIM key.
  • 2048: Uses a 2048-bit DKIM key.

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Bearer REPLACE_BEARER_TOKEN"); response = invokeUrl [ url: "https://cliq.zoho.com/adminapi/v3/email-configs" type: GET headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://cliq.zoho.com/adminapi/v3/email-configs") .get() .addHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN") .build(); Response response = client.newCall(request).execute();
const options = {method: 'GET', headers: {Authorization: 'Bearer REPLACE_BEARER_TOKEN'}}; fetch('https://cliq.zoho.com/adminapi/v3/email-configs', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("cliq.zoho.com") headers = { 'Authorization': "Bearer REPLACE_BEARER_TOKEN" } conn.request("GET", "/adminapi/v3/email-configs", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "GET", "hostname": "cliq.zoho.com", "port": null, "path": "/adminapi/v3/email-configs", "headers": { "Authorization": "Bearer REPLACE_BEARER_TOKEN" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
var client = new RestClient("https://cliq.zoho.com/adminapi/v3/email-configs"); var request = new RestRequest(Method.GET); request.AddHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN"); IRestResponse response = client.Execute(request);
var client = new HttpClient(); var request = new HttpRequestMessage { Method = HttpMethod.Get, RequestUri = new Uri("https://cliq.zoho.com/adminapi/v3/email-configs"), Headers = { { "Authorization", "Bearer REPLACE_BEARER_TOKEN" }, }, }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "https://cliq.zoho.com/adminapi/v3/email-configs" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "Bearer REPLACE_BEARER_TOKEN") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
const data = null; const xhr = new XMLHttpRequest(); xhr.withCredentials = true; xhr.addEventListener("readystatechange", function () { if (this.readyState === this.DONE) { console.log(this.responseText); } }); xhr.open("GET", "https://cliq.zoho.com/adminapi/v3/email-configs"); xhr.setRequestHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN"); xhr.send(data);
curl --request GET \ --url https://cliq.zoho.com/adminapi/v3/email-configs \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'

Response Example

Delete custom email configuration AI Tools

Open in ChatGPT

Open in ChatGPT to ask questions about this page

Open in Claude

Open in Claude to ask questions about this page

Copy as Markdown

Copy this page as markdown to use with AI assistants

View as Markdown

Open this page as markdown in a new tab

Delete the custom email configuration of the organisation. Deletes the custom email configuration permanently. The sender domain is removed as well when the custom domain does not use it. Every operation needs the caller to be an organisation admin or a Cliq super-admin.

Threshold limit: 10 requests per min per user
Maximum API calls allowed within the window.

Lock period: 10 minutes
Cooldown period applied after threshold exhaustion.

! Possible Error Codes Click to expand
Error Code Description
operation_not_allowed The user is not an organisation admin or a Cliq super-admin.
rate_limit_exceeded The request rate limit was exceeded. Retry after the lock period.
internal_error An unexpected server error occurred.
Error Response Format

When an error occurs, the API returns a JSON response in this format:

{"error": {"code": "error_code", "message": "A human-readable description of the error."}}

where code is the error identifier (as listed above) and message is a human-readable explanation of what went wrong.


OAuth Scope : ZohoCliq.Organisation.DELETE

Request Example

Click to copy
headers_data = Map(); headers_data.put("Authorization", "Bearer REPLACE_BEARER_TOKEN"); response = invokeUrl [ url: "https://cliq.zoho.com/adminapi/v3/email-configs" type: DELETE headers: headers_data connection: <connection_name> ]; info response;
OkHttpClient client = new OkHttpClient(); Request request = new Request.Builder() .url("https://cliq.zoho.com/adminapi/v3/email-configs") .delete(null) .addHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN") .build(); Response response = client.newCall(request).execute();
const options = {method: 'DELETE', headers: {Authorization: 'Bearer REPLACE_BEARER_TOKEN'}}; fetch('https://cliq.zoho.com/adminapi/v3/email-configs', options) .then(response => response.json()) .then(response => console.log(response)) .catch(err => console.error(err));
import http.client conn = http.client.HTTPSConnection("cliq.zoho.com") headers = { 'Authorization': "Bearer REPLACE_BEARER_TOKEN" } conn.request("DELETE", "/adminapi/v3/email-configs", headers=headers) res = conn.getresponse() data = res.read() print(data.decode("utf-8"))
const http = require("https"); const options = { "method": "DELETE", "hostname": "cliq.zoho.com", "port": null, "path": "/adminapi/v3/email-configs", "headers": { "Authorization": "Bearer REPLACE_BEARER_TOKEN" } }; const req = http.request(options, function (res) { const chunks = []; res.on("data", function (chunk) { chunks.push(chunk); }); res.on("end", function () { const body = Buffer.concat(chunks); console.log(body.toString()); }); }); req.end();
var client = new RestClient("https://cliq.zoho.com/adminapi/v3/email-configs"); var request = new RestRequest(Method.DELETE); request.AddHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN"); IRestResponse response = client.Execute(request);
var client = new HttpClient(); var request = new HttpRequestMessage { Method = HttpMethod.Delete, RequestUri = new Uri("https://cliq.zoho.com/adminapi/v3/email-configs"), Headers = { { "Authorization", "Bearer REPLACE_BEARER_TOKEN" }, }, }; using (var response = await client.SendAsync(request)) { response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body); }
package main import ( "fmt" "net/http" "io/ioutil" ) func main() { url := "https://cliq.zoho.com/adminapi/v3/email-configs" req, _ := http.NewRequest("DELETE", url, nil) req.Header.Add("Authorization", "Bearer REPLACE_BEARER_TOKEN") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := ioutil.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) }
const data = null; const xhr = new XMLHttpRequest(); xhr.withCredentials = true; xhr.addEventListener("readystatechange", function () { if (this.readyState === this.DONE) { console.log(this.responseText); } }); xhr.open("DELETE", "https://cliq.zoho.com/adminapi/v3/email-configs"); xhr.setRequestHeader("Authorization", "Bearer REPLACE_BEARER_TOKEN"); xhr.send(data);
curl --request DELETE \ --url https://cliq.zoho.com/adminapi/v3/email-configs \ --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'

Response Example