Deletes custom grayscale environments from the environment list of an Edge Routine.
Operation description
Only custom Preset Canary environments can be deleted. You cannot delete the Production or Staging environments.
API call frequency: 100 calls/second.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:DeleteRoutineConfEnvs |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
Yes |
The name of the Edge Routine. The name must be unique within an Alibaba Cloud account. |
test |
| Envs |
object |
Yes |
The list of custom grayscale environments to delete. |
["presetCanaryZheJiang"] |
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.