Return One MongoDB Cloud User by ID
Returns the details for one MongoDB Cloud user account with the specified unique identifier for the user. You can't use this endpoint to return information on an API Key. To return information about an API Key, use the Return One Organization API Key endpoint. You can always retrieve your own user account. If you are the owner of a MongoDB Cloud organization or project, you can also retrieve the user profile for any user with membership in that organization or project.
Request
- Base URLhttps://cloud.mongodb.com
- URLhttps://cloud.mongodb.com/api/atlas/v2/users/{userId}
- Auth
- OAuth 2Client credentialsToken URL: https://cloud.mongodb.com/api/oauth/token
- or HTTP digest
Path parameters
Unique 24-hexadecimal digit string that identifies this user.
Query parameters
Flag that indicates whether Application wraps the response in an envelope JSON object. Some API clients cannot access the HTTP response headers or status code. To remediate this, set envelope=true in the query. Endpoints that return a list of results use the results object as an envelope. Application adds the status parameter to the response body.
Flag that indicates whether the response body should be in the prettyprint format.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.