사용자 역할 목록 조회
/rest/admin/user/{usrId}/auth특정 사용자에게 부여된 역할 목록을 조회합니다.
GET /rest/admin/user/{usrId}/auth
특정 사용자에게 부여된 역할 목록을 조회합니다.
Request
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
usrId | string | Yes | 사용자 ID (Path) |
key | string | Yes | API 인증 키 |
Response
200 OK
{
"auths": [
{
"authId": "ADMIN",
"authNm": "Administrator"
}
]
}
401 Unauthorized
{
"error": "Unauthorized",
"code": "UNAUTHORIZED"
}
Example
curl "https://{{manager-host}}:{{port}}/rest/admin/user/{usrId}/auth?key=YOUR_API_KEY"