"deletePermanent" doesn't delete the user permanently

0 votes

Hi,

Even after providing "deletePermanent" flag "true" in other metadata headers, the user is not getting deleting user permanently. It is only doing a Soft delete.

I am referring to the documentation here - http://api.shephertz.com/app42-docs/user-management-service/#delete-user

Here's the code,

HashMap<String, String> otherMetaHeaders = new HashMap<String, String>();

otherMetaHeaders.put("deletePermanent", "true");

response = userService.deleteUser(userName);

regards,

Roopesh

asked Aug 17, 2016 in Java by jitesh.h.lalwani (20 points)

1 Answer

0 votes

Hi Roopesh,

It seems you are not attaching the other meta headers with the request. Because i can not find the following code in the code you have shared. 

        userService.setOtherMetaHeaders(otherMetaHeaders);  

Please have a look at the documentation for deleteUserPermanentaly

Regards,
Rajeev

answered Aug 19, 2016 by rajeev.etc (1,660 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...