Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
SwitchW0rm
Participant
Jump to solution

Bulk track.accounting

how can i loop over all rule numbers and set track.accouting on via api? is there a better/quicker way to activate track.accounting for all rules?

0 Kudos
1 Solution

Accepted Solutions
SwitchW0rm
Participant

solution:

api-endpoint: set-access-rule
json-post-data:
{
"layer":"network", #or something else
"rule-number":i #increment i in loop
"track": { "accounting":true }
}

View solution in original post

2 Replies
_Val_
Admin
Admin

Yes you can

0 Kudos
SwitchW0rm
Participant

solution:

api-endpoint: set-access-rule
json-post-data:
{
"layer":"network", #or something else
"rule-number":i #increment i in loop
"track": { "accounting":true }
}

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events