RevokeSecurityGroupEgress
GET /?Action=RevokeSecurityGroupEgress
Description
Removes one or more egress rules from a security group for a VPC.
In case of TCP and UDP protocols, you have to indicate the destination port or range of ports. In case of ICMP protocol, you have to indicate ICMP type and code.
Rules (IP permissions) consist of the protocol, CIDR range or source security group.
To revoke outbound access to a destination security group, we recommand to use a set of IP permissions. We also recommand to specify the protocol in a set of IP permissions.
Body parameter
Required: false
Name: RevokeSecurityGroupEgressRequest
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
CidrIp |
The CIDR IP address range. |
false |
string |
||
FromPort |
The beginning of port range for the TCP and UDP protocols, or an ICMP type number. |
false |
integer |
||
GroupId |
The ID of the security group. |
true |
string |
||
IpPermissions.N |
Information about one or more IP permissions. |
false |
|||
IpProtocol |
The IP protocol name ( |
false |
string |
||
SourceSecurityGroupName |
The name of a destination security group. |
false |
string |
||
SourceSecurityGroupOwnerId |
The 3DS OUTSCALE account ID of the owner of a destination security group. |
false |
string |
||
ToPort |
The end of port range for the TCP and UDP protocols, or an ICMP type number. |
false |
integer |
Responses
HTTP Code 200
HTTP Code | Description | Schema |
---|---|---|
200 |
RevokeSecurityGroupEgressResult |
Response 200
Name | Description | Required | Schema | Default | Example |
---|---|---|---|---|---|
requestId |
The ID of the request. |
false |
string |
||
return |
If |
false |
boolean |