POST/partners/customers/{domainId}/upgrade-domain
Adds a domain name to change a group name to.
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
partner
| Parameter | Type | Description |
|---|---|---|
| domainId | integer | Domain ID required example : 10000001 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Property | Type | Description |
|---|---|---|
| domain | string | Domain name required |
example
1{2 "domain": "example.com"3}OK
| Property | Type | Description |
|---|---|---|
| domain | string | Domain name to upgrade to |
| isActiveDomain | boolean | Indicates whether the domain is active (or its ownership is verified). default : false |
| cnameHost | string | CNAME host name |
| cnameTarget | string | CNAME target |
| txtHost | string | TXT host name |
| txtToken | string | TXT token |
| mxRecordHost | string | MX record host name |
| mxRecordValue | object (mxRecordValue) | MX record value |
| Property | Type | Description |
|---|---|---|
| priority10 | string | Priority 10 |
| priority20 | string | Priority 20 |
example
1{2 "domain": "example.com",3 "isActiveDomain": true,4 "cnameHost": "XXXXXXXXXXXX",5 "cnameTarget": "XXXXXXXXXXXX",6 "txtHost": "XXXXXXXXXXXX",7 "txtToken": "XXXXXXXXXXXX",8 "mxRecordHost": "XXXXXXXXXXXX",9 "mxRecordValue": {10 "priority10": "XXXXXXXXXXXX",11 "priority20": "XXXXXXXXXXXX"12 }13}