Deletes an associated domain name from an edge container application. After deletion, the edge container service can no longer be accessed through this domain name. Note: 1) You must first call CreateEdgeContainerApp to create an edge container application and record the returned AppId. 2) You must first call CreateEdgeContainerAppRecord to bind a domain name record (RecordName) to the application. 3) A complete three-step call example of create, bind, and delete is provided.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:DeleteEdgeContainerAppRecord |
delete |
*Site
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The application ID. |
app-88068867578379**** |
| SiteId |
integer |
No |
The site ID. This parameter is required. If it is not specified, the service returns InternalError(400). Call ListSites to obtain a valid SiteId before calling this operation. |
5407498413**** |
| RecordName |
string |
Yes |
The associated domain name. |
a.example.com |
Note: 1) You must first call CreateEdgeContainerApp to create an edge container application and record the returned AppId. 2) You must first call CreateEdgeContainerAppRecord to bind a domain name record (RecordName) to the application. 3) A complete three-step call example of create, bind, and delete is provided.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
04F0F334-1335-436C-A1D7-6C044FE73368 |
Examples
Success response
JSON format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | The specified parameter is invalid. |
| 400 | InvalidParameter.appid | The format of the application ID is invalid. You can call ListEdgeContainerApps to obtain the application ID. | The format of the application ID is invalid. You can call ListEdgeContainerApps to obtain the application ID. |
| 500 | InternalError | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
| 404 | InvalidApp.NotFound | The application does not exist. Check whether the application ID you specified is correct and try again. | The application does not exist. Check whether the application ID you specified is correct and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.