Hey Guys
Hoping someone can help me with this. I have a customer that would like to allow their users 40GB of data to use per month. If they go over this allowance they can purchase another datablock (by adding another profile to the user)
At the end of the month they would like all datablocks to expire and start again with a 40GB block.
I figured i could do this with profiles + limitations and scripts at the end of the month using the following
:foreach i in=[/tool user-manager user find] do={/tool user-manager user reset-counters $i;}
:foreach i in=[/tool user-manager user find] do={/tool user-manager user create-and-activate-profile $i customer=hs_admin profile=Default40GB;}
The issue I have is I need to be able to remove the existing profiles for this to work neatly. From what i can see there are no commands to remove profiles except through the web interface.
Does anyone have any other ideas on how this can be done