API Documentation Download OpenAPI specification

Toggle Mail Service

POSThttps://bll.titan.email/partner/toggleMailService

This API is relevant if you are using Titan's cPanel plugin.
Using this api, You can choose to move all domains from Titan cloud to cPanel local (or vice versa) for a particular cPanel account. Calling this api would result in deleting all the existing domain orders within that cPanel account and recreating them with the selected mail service. The action will be applied to all existing domains and all future domains added within the cPanel account. All domains in a cPanel account can either be on local or titan at a given point in time. This will not result in any migration of email accounts, email data or dns; those will need to be handled by you separately.

Body

application/json
titanOrderIdnumberrequired

The unique order ID against each domain provisioned with Titan

Example: 1
mailServicestring · enumrequired

Desired mail service to which customer wants to move

Example: titan
Possible values: titan local
modestring · enumoptional

toggling strategy, default is all_domains

Example: all_domains
Possible values: single_domain all_domains

Responses

200OKapplication/json
reqIDstringrequired
Example: server.req.id
See General Errors for other errors that this API can return.
POST/partner/toggleMailService
curl https://bll.titan.email/partner/toggleMailService \
  --request POST \
  --header 'Authorization: API.Key' \
  --header 'Content-Type: application/json' \
  --data '{
  "titanOrderId": 1,
  "mailService": "titan",
  "mode": "all_domains"
}'
Response
{
  "reqID": "server.req.id"
}