/iam/account/store
POST
Stores an account
Parameters in the POST body schema
Name | Type | Description | Example | Default |
---|---|---|---|---|
identityServiceName |
required, string | The name of the idendityService that should be considered for this call | myService | |
accountName |
required, string | The name of the account | myAccount | |
disabled |
optional, boolean | Whether the account is disabled | false | false |
forcePasswordChange |
optional, boolean | Whether the flag forcepasswordchange is set in the account | false | false |
password |
optional, string | The password for the account. A hash will be created and stored in the database | myPassword | |
roles |
required, array[string] | A collection with role names that should be assigned to the account. Roles that are already assigned and are not in the list, will be deleted. As a result the account will have the roles in this collection. |
["myRole1","myRole2"] | |
auditLog |
optional, object | Object that contains comment , timeSpent and ticketLink . |
{ "comment": "Operational requirement!", "timeSpent": 2 } |
|
comment |
optional, string | Field in auditLog to comment this action, e.g. the reason. |
||
timeSpent |
optional, integer | Field in auditLog to enter the time spent in minutes. |
||
ticketLink |
optional, string | Field in auditLog to enter a link to a corresponding ticket. |
Request