All Products
Search
Document Center

Edge Security Acceleration:SetRoutineSubdomain

Last Updated:Oct 17, 2024

Configures a subdomain for a routine.

Operation description

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

  • You can call this operation up to 100 times per second per account.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
SubdomainsobjectYes

The parameters of the subdomain.

The parameters are in the following format:

Subdomains: [
    "subdomain-test"
]
["subdomain-test"]

Response parameters

ParameterTypeDescriptionExample
object
Contentobject

The message returned, such as ""Status": "OK"".

"Status": "OK"
RequestIdstring

The ID of the request.

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

Examples

Sample success responses

JSONformat

{
  "Content": {
    "test": "test",
    "test2": 1
  },
  "RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}

Error codes

HTTP status codeError codeError messageDescription
400EdgeRoutine.GeneralErrorA server error occurred: %sA server error occurred. Try again later. If the error persists, submit a ticket.

For a list of error codes, visit the Service error codes.