I am looking for a way to remove/disconnect a user from a role using the SOAP interface. The natural place to at http://dev.otrs.org/ for this method is at Kernel::System::Group, but there is no such kind of "GroupUserRemoveRole"-method.
Is there a method that's not specified in the docs? It is possible in admin area of OTRS so I assume there is some method to be used.
One way I was thinking of is using the method below and setting Active = 0. Will this do the trick? I don't know what's happening behind the scene if I do this.
Code: Select all
my $Success = $GroupObject->GroupUserRoleMemberAdd(
UID => 12,
RID => 6,
Active => 0,
UserID => 123,
);
/Niklas