Managed Users

User objects are stored in the repository and are exposed under the context path /managed/realm-name_user. Many examples of REST calls related to this context path exist throughout this document. The following table lists available functionality associated with the /managed/realm-name_user context path.

URI HTTP Operation Description

/openidm/managed/realm-name_user?_queryFilter=true&_fields=_id

GET

Lists the IDs of all the managed users in the repository.

/openidm/managed/realm-name_user?_queryFilter=true

GET

Lists all info for the managed users in the repository.

/openidm/managed/realm-name_user?_queryFilter=filter

GET

Queries the managed user object with the defined filter.

/openidm/managed/realm-name_user/_id

GET

Returns the JSON representation of a specific user.

/openidm/managed/realm-name_user/_id

PUT

Creates a new user.

/openidm/managed/realm-name_user/_id

PUT

Updates a user entry (replaces the entire entry).

/openidm/managed/realm-name_user?_action=create

POST

Creates a new user.

/openidm/managed/realm-name_user?_action=patch&_queryId=for-userName&uid=userName

POST

Updates a user (can be used to replace the value of one or more existing attributes).

/openidm/managed/realm-name_user/_id

PATCH

Updates specified fields of a user entry.

/openidm/managed/realm-name_user/_id

DELETE

Deletes a user entry.

For a number of sample commands that show how to manage users over REST, see Managed Users.