Create/Update users
post
/cloudapi/restapi/v3/user
This operation enables you to create and modify users records. The operation creates a user if a matching user does not exist in the system or modifies the user if a match is found. The primary key for the user object is loginId. Any new roles provided under the roles attribute are provisioned for the user by the operation. If the request data does not include roles assigned to the user in the existing database, those role assignments will be removed. If successful, this operation returns an accepted status (202) with a location header pointing to a jobId status. The operation is complete when the jobId status returns OK (200). The previous create user operation must complete before another create user operation is allowed.
Request
Supported Media Types
- application/json
Nested Schema : User
Type:
Show Source
object
-
admin:
boolean
-
changePwdAtNextLogin:
boolean
-
createdBy:
string
-
createdDate:
object CloudTZDateTime
-
deprovisionedDate:
string(date-time)
-
deprovisioningDate:
string(date-time)
-
disabled(required):
boolean
-
emailAddress(required):
string
-
employeeNumber:
string
-
endDate:
string(date-time)
-
firstName(required):
string
-
id:
string
-
lastName(required):
string
-
locked:
boolean
-
loginAttemptsCtr:
string
-
loginId(required):
string
-
manager:
string
-
middleName:
string
-
organization(required):
object Organization
-
password:
array password
-
processed:
boolean
-
provisionedDate:
string(date-time)
-
provisioningDate:
string(date-time)
-
pwdCantChange:
boolean
-
pwdExpired:
boolean
-
pwdExpireDate:
string(date-time)
-
pwdWarnDate:
string(date-time)
-
pwdWarned:
boolean
-
roles:
array roles
-
startDate:
string(date-time)
-
status:
string
-
statusInfo:
string
-
statusInfoOK:
boolean
-
updatedDate:
object CloudTZDateTime
-
userType:
string
Nested Schema : Organization
Type:
Show Source
object
-
associations:
array associations
Unique Items Required:
true
-
bidderCompany:
boolean
-
createdBy:
string
-
createdDate:
string(date-time)
-
displayName(required):
string
-
id(required):
string
-
inheritedPolicy:
boolean
-
isDeletable:
boolean
-
name(required):
string
-
parentId:
string
-
parentName:
string
-
processed:
boolean
-
pwdPolicy:
object PwdPolicy
-
status:
string
-
statusInfo:
string
-
type:
string
-
updatedBy:
string
-
updatedDate:
string(date-time)
Response
Supported Media Types
- application/json
200 Response
successful operation
Root Schema : schema
Type:
file
202 Response
Create/Modify Users request has been accepted and currently in progress.
400 Response
Invalid input, Please check.
500 Response
Internal Server Error. Underlying Identity Management System threw an error, Please check the logs.