User deletion from the IdentityLink

I am trying to delete the user from the identity link
deleteUserIdentityLink(String var1,String var2, String var3);

can anyone explain me what are the values needed to be supplied.

Hi @Sanjeev_Kumar

Hope it helps.

Rerads,
Alex

@Alex_Voloshyn
Thanks for the reply
But in latest camunda deleteUserIdentityLink(String var1,String var2, String var3);
There are 3 parameters the reply you send, is for old version with only 2 parameters

The latest available - TaskService (Camunda Platform Javadocs 7.16.0)

void deleteCandidateUser​(String taskId, String userId)
Convenience shorthand for deleteUserIdentityLink(String, String, String); with type IdentityLinkType.CANDIDATE

@Alex_Voloshyn
Thanks for solution.
I will try this

you’re welcome. if it helps please mark the reply as a soluttion so we know that the question is answered.