v1.0

get

/ec-auth-svc/rest/v1.0/users/role/{role}

Retrieves all the users that have a particular role assigned to them.

Request

Path Parameters
  • The role name to look up users for (case-sensitive, must match an existing role).
    Example:
    APPROVE_LIBRARY_OBJECTS

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : schema
Type: array
Show Source
Nested Schema : DisplayUserDto
Type: object
User details including name, username, and email address.
Show Source
Example:
[
    {
        "id":"1BC29B36F5D64B1B95F4BDBBCEA481BE",
        "firstName":"Alice",
        "lastName":"Brown",
        "userName":"alicebrown",
        "emailAddress":"alice.brown@email.com"
    }
]
Examples

400 Response

Bad request
Body ()
Root Schema : AuthResponse
Type: object
Generic API response wrapper containing result, error data, response version and status.
Show Source
Nested Schema : ErrorResponseData
Type: object
Show Source
Nested Schema : result
Type: object
Result data of the API response; actual type depends on the API
Example:
oracle.doceng.json.BetterJsonNull@5f5bd1ad
Nested Schema : details
Type: object
Back to Top