---
title: Managed users
description: User objects are stored in the repository and are exposed under the context path /managed/realm-name_user.
component: pingoneaic
page_id: pingoneaic:idm-rest-api:endpoints/rest-managed-users
canonical_url: https://docs.pingidentity.com/pingoneaic/idm-rest-api/endpoints/rest-managed-users.html
---

# Managed users

User objects are stored in the repository and are exposed under the context path `/managed/realm-name_user`.

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            | Returns the IDs of all the managed users in the repository.                                                                                                                                                                                                                 |
| `/openidm/managed/realm-name_user?_queryFilter=true`                                | GET            | Returns all information for all managed users in the repository.                                                                                                                                                                                                            |
| `/openidm/managed/realm-name_user?_queryFilter=filter`                              | GET            | Returns 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            | Updates a user entry by replacing it entirely with the new data. If a user entry with that `_id` does not exist in the system, one will be created.	If you create an object using PUT, the ID you assign must be a UUID, for example, 4cf65bb9-baa4-4488-aa73-216adf0787a1. |
| `/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 specified fields of a user entry.                                                                                                                                                                                                                                   |
| `/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 additional commands and examples, refer to [Manage identities](../../idm-objects/users.html).
