YouTrack Standalone 2019.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:

Name

Type

Description

login

string

Login name of a user to be created. Required.

fullName

string

User full name (optional).

email

string

User email (required for new user).

jabber

string

User jabber account (optional).

password

string

Password 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" email="gregory@acme.com" jabber="gregory@acme.com" groupsUrl="https://example.com/youtrack/charisma/rest/admin/user/gregory/group/" />
Last modified: 17 December 2019