This endpoint allows you to delete a specific rule from your Requestly account using its unique
ruleId.Use this API call to permanently remove a rule that is no longer required. For a live view and to test this API interactively, visit the API Playground.
Endpoint
- Method: DELETE
-
URL:
https://api2.requestly.io/v1/rules/{ruleId}
Path Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
ruleId | String | The unique ID of the rule to be deleted. | Yes |
cURL Example
Sample Response
Response Codes
| Status Code | Description |
|---|---|
| 200 | Rule deleted successfully. |
| 400 | Invalid rule pairs or payload. |
| 401 | Unauthorized action. |
| 404 | Rule or group not found. |
| 405 | Rule type update not allowed. |
| 429 | Too many requests. |

