JOC API

Version 2.2.2

Download RAML
JOC API
/authentication/auth/store (Accounts)
POST

Stores accounts, roles, permission to Identity Service


Parameters in the POST body schema

Name Type Description Example Default
identityServiceName required; string The name of the idendityService myService
accounts required, array An array with accounts that should be created or changed.
If the account does not exist, it will be created. Otherwise it will be updated.
[
"account":"myAccount","password":"myPassword","disabled":true,"forcePasswordChange":true,"roles":["123"],
"account":"yourAccount","password":yourPassword","disabled":true,"forcePasswordChange":true,"roles":["123"]
]
account required; string The name of the account myAccount
disabled optional; boolean If true, the account is disabled and can not be used for a login true
forcePasswordChange optional; boolean If true the account is forced to change the password with the next login true
password optional; string The password of the account myPassword
roles required, array An array with roles that should be assigned to the account.
An existing assignment will be replaced with this list of roles. Roles that do not exist will be removed from this list.
[
"role1"
"role2"
]
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. 5
ticketLink optional, string Field in auditLog to enter a link to a corresponding ticket.