This API has been deprecated. We recommend migrating to Ecs(2014-05-26) - DeleteNetworkInterface for enhanced functionality and continued support. While the deprecated API remains temporarily accessible, no further updates or bug fixes will be provided.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:DeleteNetworkInterfacePermission |
delete |
*NetworkInterface
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
||
| RegionId |
string |
Yes |
||
| NetworkInterfacePermissionId |
string |
Yes |
||
| Force |
boolean |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Examples
Success response
JSON format
{
"RequestId": ""
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParameter | %s | A parameter is not specified. |
| 400 | UnsupportedParameter | %s | The parameter is not supported. |
| 400 | InvalidParameter | %s | The specified parameter is invalid. |
| 400 | InvalidInstanceID.Malformed | %s | The specified InstanceId parameter is invalid. |
| 400 | InvalidOperation.InvalidEniState | %s | |
| 400 | NotBelongUser | %s | You are not authorized to manage the specified resource. |
| 400 | InvalidOperation.PermissionExisted | %s | This NetworkInterfacePermission already exists. |
| 403 | InvalidUserType.NotSupported | %s | Your account does not support this operation. |
| 403 | Abs.InvalidAccount.NotFound | %s | Your Alibaba Cloud account does not exist or your AccessKey pair has expired. |
| 403 | Forbidden.NotSupportRAM | %s | RAM users are not authorized to perform this operation. |
| 403 | Forbidden.SubUser | %s | You are not authorized to manage this resource. Contact the owner of the Alibaba Cloud account for authorization. |
| 404 | InvalidOperation.PermissionNotExisted | %s | The operation is invalid. First apply for permissions to perform the operation. |
| 404 | InvalidEniPermissionId.NotFound | %s | The specified NetworkInterfaceId parameter does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.