Create New User
Request
Parameter | Description |
---|---|
fields | Optional query parameter. Specifies a subset of the fields to be returned. Use Fields Syntax to define the subset. |
Request Body
user
extends authorityHolder
{
"login": string,
"banned": boolean,
"guest": boolean,
"avatar": avatar,
"profile": profile,
"contacts": [contact, ...],
"groups": [userGroup, ...],
"details": [details, ...],
"VCSUserNames": [vcsUserName, ...],
"sshPublicKeys": [sshPublicKey, ...],
"licenses": [license, ...],
"creationTime": calendar,
"lastAccessTime": calendar,
"id": string /* from authorityHolder */,
"aliasIds": [string, ...] /* from authorityHolder */,
"aliases": [alias, ...] /* from authorityHolder */,
"name": string /* from authorityHolder */,
"projectRoles": [projectRole, ...] /* from authorityHolder */
}
Response
Response body
user
extends authorityHolder
{
"login": string,
"banned": boolean,
"guest": boolean,
"avatar": avatar,
"profile": profile,
"contacts": [contact, ...],
"groups": [userGroup, ...],
"details": [details, ...],
"VCSUserNames": [vcsUserName, ...],
"sshPublicKeys": [sshPublicKey, ...],
"licenses": [license, ...],
"creationTime": calendar,
"lastAccessTime": calendar,
"id": string /* from authorityHolder */,
"aliasIds": [string, ...] /* from authorityHolder */,
"aliases": [alias, ...] /* from authorityHolder */,
"name": string /* from authorityHolder */,
"projectRoles": [projectRole, ...] /* from authorityHolder */
}
Last modified: 19 September 2016