Retrieve a specific user details API
Use the Get user details API to retrieve a specific user details in the Control Room.
Prerequisites
Ensure you have an admin role or a custom role with View Users permission.
Procedure
- Add the authentication token to the request header.
- In the request header, add a specific user ID you want to retrieve.
-
Use the GET method and endpoint
URL:
<your_control_room_url>/v1/usermanagement/users/2 <user ID>
-
Send the request.
We are sending request to retrieve details for the specific user ID: 2075Response body:
{ "id": 2075, "username": "mdadmin1", "domain": "string", "firstName": "MDadmin2", "lastName": "ADadmin", "version": 0, "principalId": 2075, "deleted": false, "roles": [ { "name": "AAE_Basic", "id": 2, "version": 0 } ], "sysAssignedRoles": [], "groupNames": [], "permissions": [ { "id": 7526, "action": "viewuserrolebasicinfo", "resourceId": null, "resourceType": "usermanagement" }, { "id": 7, "action": "run", "resourceId": null, "resourceType": "repositorymanager" }, { "id": 94, "action": "view", "resourceId": null, "resourceType": "botstore" }, { "id": 61, "action": "createstandard", "resourceId": null, "resourceType": "credentialattribute" }, { "id": 92, "action": "view", "resourceId": null, "resourceType": "packagemanager" }, { "id": 97, "action": "register", "resourceId": null, "resourceType": "devices" }, { "id": 29, "action": "view", "resourceId": null, "resourceType": "repositorymanager" }, { "id": 120, "action": "view", "resourceId": null, "resourceType": "dashboard" } ], "licenseFeatures": [ "DEVELOPMENT" ], "emailVerified": false, "passwordSet": false, "questionsSet": false, "enableAutoLogin": true, "disabled": true, "clientRegistered": false, "description": "string", "createdBy": 1513, "createdOn": "2020-11-20T20:17:26Z", "updatedBy": 1513, "updatedOn": "2020-11-20T20:17:26Z", "publicKey": null, "appType": null, "routingName": null, "appUrl": null, "email": "ad@ma.com" }
The REST API responds to each request with an HTTP response code. For details about the response codes, see API response codes.