Hi,
My script to bulk delete users works fine for new users without any tickets, but if there is a ticket in the system for a user, then the bulk delete fails -- even if the ticket is 'solved'. (To test this I've added a new user, created a single ticket, then marked the ticket as solved before running the script).
Here is a section of the code I'm using:
API = "/api/v2/users/destroy_many.json?ids=" + IDs
myURL = encodeURI(API);
var settings = {
type:'DELETE',
url: myURL
};
client.request(settings);
Please can you advise?
Thanks,
SGL.
Are you receiving an error back when this bulk delete fails?
Thanks!