[rt-users] REST add/update a user

Tom Lahti toml at bitstatement.net
Fri Feb 27 15:23:41 EST 2009


Joel Schuweiler wrote:
> Anyone have example code, or know where I can find any, for using rest to add/update/delete users, including their passwords.
> 
> Thanks,
> Joel

It's just a form, with the id: field set to "user/<login>" instead of
"ticket/<number>", and use the "edit" REST method. To create a user, you'd
use the object id "user/new".   The rest of the form would be like:

id: user/new
Name: Some Name
EmailAddress: some at name.com
Organization: Some Corp
Password: blahblah
Comments: This is a comment.

and so on.

-- 
-- ============================
   Tom Lahti
   BIT Statement LLC

   (425)251-0833 x 117
   http://www.bitstatement.net/
-- ============================



More information about the rt-users mailing list