Get User Profile by ID

Current user will get its profile information in response. User will also get ID of a role assign to him and a list of group IDs from which it belongs to.

Average Response Time: 154ms

SecurityApiKeyAuth or BasicAuth
Request
path Parameters
id
required
string <uuid> = 36 characters

A User Profile ID.

Example: 4e428628-2537-40b5-91a4-5393cbf167df
header Parameters
X-API-Key
required
string

Customer-specific API key required to invoke API.

Authorization
required
string

Provided by Authentication Token creation operation

AccessToken
required
string

JWT token provided by Authentication Token creation operation.

Responses
200

The Response Body will be a JSON object

401

Unauthorized. Missing Authorization or AccessToken or Access Token expired

403

Forbidden. Missing X-API-key

get/user/{id}
Request samples
Response samples
application/json
{
  • "userId": "7d675ef0-f423-11e9-8071-89c0c4052141",
  • "customerId": "1234567890",
  • "emailId": "erlich.bachman@piedpiper.com",
  • "firstName": "Erlich",
  • "lastName": "Bachman",
  • "roleId": "7d5620e0-f423-11e9-8071-89c0c4052141",
  • "status": "enabled",
  • "groups": [
    ],
  • "userName": "erlich.bachman",
  • "phone": 15551234565,
  • "contact": "Richard Hendricks",
  • "country": "USA",
  • "company": "Pied Piper",
  • "friendlyName": "Erlich Bachman"
}