Configures a subdomain.

Note Each subdomain is globally unique. Resource Access Management (RAM) users cannot create duplicate subdomains.


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 parameter

Parameter Type Required Example Description
Action String Yes SetRoutineSubdomain

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

Subdomains Json Yes ["subdomain-test"]

The parameters of the subdomain.

Response parameters

Parameter Type Example Description
Content Map "Status": "OK"

Returns ""Status": "OK"".

RequestId String 04F0F334-1335-436C-A1D7-6C044FE73368

The ID of the request.


Sample requests["subdomain-test"]&<Common request parameters>

Sample success responses

XML format


JSON format

    "RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
    "Content": {
        "Status": "OK"

Error codes

HttpCode Error code Error message Description
400 EdgeRoutine.GeneralError A server error occurred: %s The error message returned because an error %s occurred on the server. If the problem persists, submit a ticket.

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