YouTrack Standalone 7.0 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=gregory

Response:

<user login="gregory" fullName="Harriet Gregory" lastAccess="21 Jan 1924 17:43" email="gregory@acme.com" jabber="gregory@acme.com" groupsUrl="http://localhost:8080/charisma/rest/admin/user/gregory/group/" rolesUrl="http://localhost:8080/charisma/rest/admin/user/gregory/role/"/>
Last modified: 2 February 2017