to delete clients. It is mentioned in the document that there is setting called ‘forceDelete’ - does anybody know how to use it in the actual API call?
I’ve tried to add it in the URL itself, in the headers, in the payload. Does not work.
Page 1 / 1
Hi @Graham Swift yes..it seems that my user that I was using was lacking permissions..interesting that this is not reflected in the error code, instead giving me the internal server error 500.
Hello @benjaminas , just checking if you managed to crack it?
Hello @benjaminas ,
Sorry for the delay, just got back to look in my lab.
It works as expected. Client was deleted from my environment. I am running 11.28.44.
Hi @Graham Swift
DELETE <webservice>/Client/{clientId}?forceDelete=true gives out Internal Error 500… Strange that documentation does not have example of how to use that.
Hello @benjaminas
It should be something like below, however I strongly recommend sticking with the retire client option instead as it has some logic in there to prevent the deletion of a client with valid jobs: