Create User Using POST
Create a new user
The user object for creation
Show optional properties
{
"password": "string",
"username": "string"
}
{
"distinguishedName": "string",
"emailAddress": "string",
"enabled": false,
"firstName": "string",
"groupIds": [
"string"
],
"id": "string",
"lastLoginTime": 0,
"lastName": "string",
"links": [
{
"description": "string",
"href": "string",
"name": "string",
"rel": "string"
}
],
"password": "string",
"role-permissions": [
{
"allowAllObjects": false,
"links": [
{
"description": "string",
"href": "string",
"name": "string",
"rel": "string"
}
],
"roleName": "string",
"scopeId": "string",
"traversal-spec-instances": [
{
"adapterKind": "string",
"includedAdapterKinds": [
"string"
],
"name": "string",
"resourceKind": "string",
"resourceSelection": [
{
"resourceId": [
"string"
],
"type": "string"
}
],
"selectAllResources": false
}
]
}
],
"roleNames": [
"string"
],
"username": "string"
}
distinguished name of the current user.
The email address of the current user
Is the current user's account enabled?
First name of the current user.
The list of group ids to which the current user belongs to.
Identifier of the user in the system.
Last login time
The last name of the current user.
Password of the user object. When creating a new local user, this field has to be specified.
List of role permissions assigned to this user. May be null. Replaces and takes precedence over roleNames
(Deprecated) List of role names assigned to the user. May be null.
Username of the current user.
The newly created user object
{
"distinguishedName": "string",
"emailAddress": "string",
"enabled": false,
"firstName": "string",
"groupIds": [
"string"
],
"id": "string",
"lastLoginTime": 0,
"lastName": "string",
"links": [
{
"description": "string",
"href": "string",
"name": "string",
"rel": "string"
}
],
"password": "string",
"role-permissions": [
{
"allowAllObjects": false,
"links": [
{
"description": "string",
"href": "string",
"name": "string",
"rel": "string"
}
],
"roleName": "string",
"scopeId": "string",
"traversal-spec-instances": [
{
"adapterKind": "string",
"includedAdapterKinds": [
"string"
],
"name": "string",
"resourceKind": "string",
"resourceSelection": [
{
"resourceId": [
"string"
],
"type": "string"
}
],
"selectAllResources": false
}
]
}
],
"roleNames": [
"string"
],
"username": "string"
}
distinguished name of the current user.
The email address of the current user
Is the current user's account enabled?
First name of the current user.
The list of group ids to which the current user belongs to.
Identifier of the user in the system.
Last login time
The last name of the current user.
Password of the user object. When creating a new local user, this field has to be specified.
List of role permissions assigned to this user. May be null. Replaces and takes precedence over roleNames
(Deprecated) List of role names assigned to the user. May be null.
Username of the current user.