---
title: "DELETE /gateways/{gatewayIdentifier}/rules/{ruleId}"
method: DELETE
path: "/gateways/{gatewayIdentifier}/rules/{ruleId}"
---

# DELETE /gateways/{gatewayIdentifier}/rules/{ruleId}

`DELETE /gateways/{gatewayIdentifier}/rules/{ruleId}`

Deletes a gateway rule.

## Path parameters

- `gatewayIdentifier` string, required
- `ruleId` string, required

## Response `202`

Success

- DeleteGatewayRuleResponse
  - `ruleId` string, required — The unique identifier of the deleted rule.
  - `status` 'CREATING' | 'ACTIVE' | 'UPDATING' | 'DELETING', required — The status of the rule deletion operation.

## Other responses

- `480` — ConflictException
- `481` — ValidationException
- `482` — AccessDeniedException
- `483` — ResourceNotFoundException
- `484` — ThrottlingException
- `485` — InternalServerException

---

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