Deletes canary release environments from a routine.
Operation description
Note
-
This operation deletes only custom preset canary release environments. You cannot delete production or staging environments.
-
You can call this operation up to 100 times per second per account.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Name | string | Yes | The name of the routine. The name must be unique among the routines that belong to the same Alibaba Cloud account. | test |
Envs | object | Yes | The custom canary release environments that you want to delete. | ["presetCanaryZheJiang"] |
Response parameters
Examples
Sample success responses
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. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history