Get User Status Based on User ID

get

/iam/governance/selfservice/api/v1/users/{uuid}/status

Returns the status of the specified user. The valules which will be returned depend on the state the user is in OIM. The probable values are "Active, Disabled, Deleted, Disabled Until Start Date".

Request

Supported Media Types
Path Parameters
  • Unique identifier of the User whose status is to be returned.
Back to Top

Response

Supported Media Types

200 Response

Successful
Headers
Body ()
Root Schema : StatusResponse
Type: object
Show Source
Nested Schema : LinkDataInstances
Type: object
Show Source

401 Response

Unauthorized

404 Response

Requested entity not found

500 Response

Internal Server Error
Back to Top

Examples

This retrieves the status for a given user.. The information shown here is against a pseudo system and servers as a prototype.

cURL Example

curl  -H "Content-Type: application/json"  -X GET  -u username:password  https://pseudo.com/iam/governance/selfservice/api/v1/users/1/status

Example of GET Response Body

The following example shows the contents of the response body in JSON format.

{
    "links": [
        {
            "rel": "self",
            "href": "http://pseudo.com/iam/governance/selfservice/api/v1/users/24/status"
        }
    ],
    "status": "Active",
    "id": "24",
    "name": "Beatrix Kiddo",
    "usr_locked": "0"
}
Back to Top