Skip to main content

This endpoint allows you to delete a specific group using its unique ID.
Deleting a group does not delete the rules within it. Instead, the rules are moved out of the group and remain intact in your account
For a live view and to test this API interactively, visit the API Playground.

Endpoint

  • Method: DELETE
  • URL: https://api2.requestly.io/v1/groups/{id}

Path Parameters

ParameterTypeDescriptionRequired
idStringThe unique identifier of the group to delete.Yes

cURL Request

curl --request DELETE \
  --url https://api2.requestly.io/v1/groups/Group_qrszh \
  --header 'accept: application/json' \
  --header 'x-api-key: your_api_key'

Sample Response

{
  "success": true,
  "message": "Group deleted successfully"
}

Response Codes

Status CodeDescription
200Group deleted successfully.
400The provided group ID is invalid.
401Unauthorized action.
404The specified group does not exist.
500An error occurred on the server.