Identity Management API
These endpoints allow to interact with the configured identity provider.
Please note, that not all functions are supported by all identity providers. In case a function is not supported, an UnsupportedOperationException gets thrown. All calls - except the GET methods - are logged in the audit log.
| Method | Endpoint |
|---|---|
|
|
Description Get a list of all users as JSON. When used with Keycloak one of these Keycloak roles are needed: admin, realm-admin, manage-users, query-users |
|
Returns The requested data as JSON. Example response
HTTP Status Code
Content-Type
|
|
Required Access Rights The logged in user or API Key must have either the following role or right.
|
|
|
|
Description Add a user by providing the data as JSON in the body. When used with Keycloak one of these Keycloak roles are needed: admin, realm-admin, manage-users Example body
|
|
Consumes
|
|
Returns HTTP Status Code
|
|
Required Access Rights The logged in user or API Key must have either the following role or right.
|
|
|
|
Description Update a user by providing the data as JSON in the body. When used with Keycloak one of these Keycloak roles are needed: admin, realm-admin, manage-users Example body
|
|
Consumes
|
|
Path Parameter
|
|
Returns HTTP Status Code
|
|
Required Access Rights The logged in user or API Key must have either the following role or right.
|
|
|
|
Description Update the password of a user. When used with Keycloak one of these Keycloak roles are needed: admin, realm-admin, manage-users Example form
|
|
Path Parameter
|
|
Form Parameter
|
|
Returns HTTP Status Code
|
|
Required Access Rights The logged in user or API Key must have either the following role or right.
|
|
|
|
Description Delete a user. When used with Keycloak one of these Keycloak roles are needed: admin, realm-admin, manage-users |
|
Path Parameter
|
|
Returns HTTP Status Code
|
|
Required Access Rights The logged in user or API Key must have either the following role or right.
|
|
|
|
Description Get all organisations as a JSON array. When used with Keycloak one of these Keycloak roles are needed: admin, realm-admin, manage-users, view-users, query-groups |
|
Returns The requested data. Example response
HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API Key is required. |
|
|
|
Description Get all roles as a JSON array. When used with Keycloak one of these Keycloak roles are needed: admin, realm-admin, manage-realm, view-realm, query-clients, query-users, query-groups, query-realms, manage-clients, view-clients |
|
Returns The requested data. Example response
HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API Key is required. |
|
|
|
Description Get all rights as a JSON array. |
|
Returns The requested data. Example response
HTTP Status Code
Content-Type
|
|
Required Access Rights A logged in user or API Key is required. |
|
|
|
Description Get the organisations of a user as JSON a array. When used with Keycloak one of these Keycloak roles are needed: admin, realm-admin, manage-users, (view-users AND query-users) |
|
Path Parameter
|
|
Returns The requested data. Example response
HTTP Status Code
Content-Type
|
|
Required Access Rights The logged in user or API Key must have either the following role or right.
|
|
|
|
Description Add an organisation to a user by providing the data as JSON in the body. Example body
|
|
Consumes
|
|
Path Parameter
|
|
Returns HTTP Status Code
|
|
Required Access Rights The logged in user or API Key must have either the following role or right.
|
|
|
|
Description Delete the organisation of a user. |
|
Path Parameter
|
|
Returns HTTP Status Code
|
|
Required Access Rights The logged in user or API Key must have either the following role or right.
|
|
|
|
Description Get the roles of a user as a JSON array. When used with Keycloak one of these Keycloak roles are needed: admin, realm-admin, manage-users, (view-users AND query-users) |
|
Path Parameter
|
|
Returns The requested data. Example response
HTTP Status Code
Content-Type
|
|
Required Access Rights The logged in user or API Key must have either the following role or right.
|
|
|
|
Description Add a role to a user by providing the data as JSON in the body. Example body
|
|
Consumes
|
|
Path Parameter
|
|
Returns HTTP Status Code
|
|
Required Access Rights The logged in user or API Key must have either the following role or right.
|
|
|
|
Description Delete the role of a user. |
|
Consumes
|
|
Path Parameter
|
|
Returns HTTP Status Code
|
|
Required Access Rights The logged in user or API Key must have either the following role or right.
|
|
|
|
Description Get the rights of a user as a JSON array. |
|
Path Parameter
|
|
Returns The requested data. Example response
HTTP Status Code
Content-Type
|
|
Required Access Rights The logged in user or API Key must have either the following role or right.
|
|
|
|
Description Add a right to a user by providing the data as JSON in the body. Example body
|
|
Consumes
|
|
Path Parameter
|
|
Returns HTTP Status Code
|
|
Required Access Rights The logged in user or API Key must have either the following role or right.
|
|
|
|
Description Delete the right of a user. |
|
Consumes
|
|
Path Parameter
|
|
Returns HTTP Status Code
|
|
Required Access Rights The logged in user or API Key must have either the following role or right.
|
|
|
|
Description Get the data of a user. When used with Keycloak one of these Keycloak roles are needed: admin, realm-admin, manage-users, (query-users and view-users) |
|
Path Parameter
|
|
Returns The requested data. Example response
HTTP Status Code
Content-Type
|
|
Required Access Rights The logged in user or API Key must have either the following role or right.
|