Customer domain
Display domains resource under a customer
Method |
URL |
Description |
Arguments |
Outputs |
---|---|---|---|---|
GET |
/customers/{cid}/domains |
List all sites for a particular customer |
cid |
See the Outputs table. |
Arguments
Parameter |
Type |
Description |
---|---|---|
cid |
int |
Customer ID |
Outputs
Parameter |
Type |
Description |
---|---|---|
domainId |
int |
Domain ID |
customerId |
int |
Customer ID |
domainNames |
JSON array of string |
Domain names of customer |
type |
string |
Type of domains CUST (customer) |
Add or edit a domain under a customer
Method |
URL |
Description |
Arguments |
Outputs |
---|---|---|---|---|
GET |
/customers/{cid}/domains |
Create or update a domain under a customer |
See the next table. |
200 OK |
Arguments
Parameter |
Type |
Description |
---|---|---|
domainId |
int |
Domain ID |
customerId |
int |
Customer ID |
domainNames |
JSON array of string |
Domain names of customer |
type |
string |
Type of domains CUST (customer) |