---
title: "GET /#Action=RevokeDBSecurityGroupIngress"
method: GET
path: "/#Action=RevokeDBSecurityGroupIngress"
---

# GET /#Action=RevokeDBSecurityGroupIngress

`GET /#Action=RevokeDBSecurityGroupIngress`

Revokes ingress from a DBSecurityGroup for previously authorized IP ranges or EC2 or VPC security groups. Required parameters for this API are one of CIDRIP, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId).

EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that you migrate as soon as possible. For more information, see [Migrate from EC2-Classic to a VPC](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html) in the _Amazon EC2 User Guide_, the blog [EC2-Classic Networking is Retiring – Here’s How to Prepare](http://aws.amazon.com/blogs/aws/ec2-classic-is-retiring-heres-how-to-prepare/), and [Moving a DB instance not in a VPC into a VPC](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.Non-VPC2VPC.html) in the _Amazon RDS User Guide_.

## Query parameters

- `DBSecurityGroupName` string, required
- `CIDRIP` string
- `EC2SecurityGroupName` string
- `EC2SecurityGroupId` string
- `EC2SecurityGroupOwnerId` string
- `Action` 'RevokeDBSecurityGroupIngress', required
- `Version` '2014-10-31', required

## Response `200`

Success

## Other responses

- `480` — DBSecurityGroupNotFoundFault
- `481` — AuthorizationNotFoundFault
- `482` — InvalidDBSecurityGroupStateFault

---

[API](https://skmtc.net/aws/apis/rds.md) · [All operations](https://skmtc.net/aws/apis/rds/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/rds/versions/e6b3ad7df19b/schema)
