Get User

get

/cloudapi/restapi/user/{userId}

This operation fetches a user. All attributes and assigned roles for the user are returned.

Request

Path Parameters
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : User
Type: object
Show Source
Nested Schema : CloudTZDateTime
Type: object
Show Source
Nested Schema : Organization
Type: object
Show Source
Nested Schema : password
Type: array
Show Source
Nested Schema : roles
Type: array
Show Source
Nested Schema : associations
Type: array
Unique Items Required: true
Show Source
Nested Schema : PwdPolicy
Type: object
Show Source
Nested Schema : Role
Type: object
Show Source

400 Response

Invalid input, Please check.
Back to Top

Examples

Method

GET

Response Content Type

application/json

Operation

/cloudapi/restapi/user/{userId}

cURL Example

REQUEST URL: http://<hostname>:<port>/cloudapi/restapi/user/JSMITH

curl -X GET "http://<hostname>:<port>/cloudapi/restapi/user/JSMITH" -H "accept: application/json"

Response Body Example

{

"loginId": "JSMITH",

"updatedDate": "2018-05-11T08:04:50",

"statusInfo": "",

"organization": {

"associations": [],

"inheritedPolicy": false,

"isDeletable": false,

"bidderCompany": false,

"displayName": "sfo",

"id": "4",

"name": "sfo"

},

"emailAddress": "jsmith@pgbu.com",

"disabled": false,

"locked": false,

"status": "Active",

"createdBy": "COADMIN",

"pwdExpireDate": "2019-02-18T17:11:47",

"pwdWarnDate": "2018-09-21T17:11:47",

"pwdExpired": false,

"pwdCantChange": false,

"pwdWarned": false,

"loginAttemptsCtr": "0",

"lastAction": "Updated",

"firstName": "Jim",

"lastName": "Smith",

"userType": "EMP",

"createdDate": "2018-04-09T15:21:25",

"provisionedDate": "2018-04-09T15:26:49",

"changePwdAtNextLogin": true,

"id": "3336"

}

Back to Top