Am able to create user and delete user in purecloud.
usersApi.postUsers(body); --> POST /api/v2/users --> Create user
usersApi.deleteUserId(userId); --> DELETE /api/v2/users/{userId} --> Delete user
However, I am unable to a create user which is already deleted. The deleted user will fall under 'deleted users' hence forth it returns me - 409 Conflict as response.
Is there any way to delete a user permanently? or any work around? so that I can create same user that has been created and deleted.
Not currently. API-1816 exists to track adding an undelete feature.
If you need any users undeleted, the current process is to open a ticket with PureCloud Support and provide the emails of the users you want undeleted.