Use this API to add a domain.
Method |
URL |
Required authentication |
POST |
/V1/CMDB/Domains |
Yes |
Name |
Description |
---|---|
Token*required |
Place the token received from the API Log in to get an authentication token. |
Request*required |
The body contains the following parameters: ▪tenantId*(string): the ID of the tenant that the created domain belongs to. ▪domainName*(string): the name of the created domain. ▪description (string): the description of the domain. ▪maximumNodes*(integer): the maximum licensed node count that the domain owns. The number must be greater than 0. ▪maximumPorts (integer): the maximum number of SDN ports that the tenant owns. ▪maxinumCPU (integer): the maximum number of SDN CPU processors that the tenant owns. Example: { |
Parameter |
Type |
Description |
Example |
---|---|---|---|
domainId |
string |
The ID of the domain. |
{ |
statusCode |
integer |
The returned status code of executing the API. |
|
statusDescription |
string |
The explanation of the status code. |