Deletes every policy rule in a group, including the rules Wartiva provides in that group; rules the organization has moved to another group are kept. Each rule is deleted on its own, so a request can partly succeed. Findings and issues the rules already produced are kept.
Response
Returns a RulesPurgeGroupPayload!
Arguments
| Name | Description |
|---|---|
orgId - OrganizationId!
|
The Organization identifier. |
input - RulesPurgeGroupInput!
|
Identifies the rule group to delete in bulk. |
Example
Query
mutation policyRulesPurgeGroup(
$orgId: OrganizationId!,
$input: RulesPurgeGroupInput!
) {
policyRulesPurgeGroup(
orgId: $orgId,
input: $input
) {
group
}
}
Variables
{
"orgId": "615f3b3b28284380e28a7342",
"input": RulesPurgeGroupInput
}
Response
{
"data": {
"policyRulesPurgeGroup": {
"group": "xyz789"
}
}
}