Adds root domains to a specified organization.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes AddOrgDomains

The operation that you want to perform. Set the value to AddOrgDomains.

Domains.N RepeatList Yes ["baidu.com", "aliyun.com"]

The list of root domains.

OrgId Integer Yes 1

The ID of the organization.

Response parameters

Parameter Type Example Description
RequestId String 73D1B3B5-B2A5-45CF-84B7-4C73A6EEF5C5

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=AddOrgDomains
&Domains.1=["baidu.com", "aliyun.com"]
&OrgId=1
&<Common request parameters>

Sample success responses

XML format

<AddOrgDomainsResponse>
   <RequestId>D4F99513-88A6-4FDB-B6ED-0AC64C16C256</RequestId>
</AddOrgDomainsResponse>

JSON format

{
    "RequestId": "D4F99513-88A6-4FDB-B6ED-0AC64C16C256"
}

Error codes

For a list of error codes, visit the API Error Center.