Sets an Edge Routine (ER) subdomain.
Operation description
Each subdomain must be globally unique across all RAM users.
API call frequency: 100 calls per second.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:SetRoutineSubdomain |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Subdomains |
object |
Yes |
The subdomain parameters. The format is as follows: |
["subdomain-test"] |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| Content |
object |
Returns "Status": "OK". |
"Status": "OK" |
| RequestId |
string |
The request ID. |
04F0F334-1335-436C-A1D7-6C044FE73368 |
Examples
Success response
JSON format
{
"Content": {
"test": "test",
"test2": 1
},
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | EdgeRoutine.GeneralError | A server error occurred: %s | A server error occurred. Try again later. If the error persists, submit a ticket. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.