YouTrack InCloud 2017.2 Help

POST User

POST /admin/user

Create a new user account or update an existing user account. User is identified by login name. New user account will be created, if there is no existing user account with the given login name.

POST /rest/admin/user

Parameters:

NameTypeDescription
loginstringLogin name of a user to be created. Required.
fullNamestringUser full name (optional).
emailstringUser email (required for new user).
jabberstringUser jabber account (optional).
passwordstringPassword for the new user. If skipped, by default the new user account will be created with auto-generated password. Please note, that you can use this parameter only if you have Low-level Administration permissions.

Sample

Request:

HTTP POST: /admin/user?login=lenin

Response:

<user login="lenin" fullName="Vladimir Ilyich Ulyanov" email="lenin@cremlin.su" jabber="lenin@gmail.com" groupsUrl="http://localhost:8080/charisma/rest/admin/user/lenin/group/" rolesUrl="http://localhost:8080/charisma/rest/admin/user/lenin/role/"/>
Last modified: 22 May 2017