사용자 관리
사용자
조회
| 항목 | 설명 |
|---|---|
| URL | /monitoring/api/users |
| URL 요청 예시 | /monitoring/api/users |
| HTTP METHOD | GET |
| Content-Type | application/json; charset=UTF-8 |
| Body | |
| Response | { "status": 200, "result": [ { "userId": "admin", "name": "Administrator", "email": "support@opennaru.com", "phoneNumber": "010-1234-1234", "groups": [ "admin", "users" ], "timeZone": "GMT+09:00", "locale": "kr", "language": "ko", "registered": 1502182129012, "updated": 0 }, ... |
등록
| 항목 | 설명 |
|---|---|
| URL | /monitoring/api/user |
| URL 요청 예시 | /monitoring/api/user |
| HTTP METHOD | POST |
| Content-Type | application/json; charset=UTF-8 |
| Body | { "userId": "test", "password": "test", "name": "테스트", "email": "", "phoneNumber": "", "timeZone": "GMT+09:00", "language": "ko", "groups": [ "users", “testGroups” ], "locale": "kr" } |
| Response | {"status": 200} |
수정
| 항목 | 설명 |
|---|---|
| URL | /monitoring/api/user/{사용자 아이디} |
| URL 요청 예시 | /monitoring/api/user/test |
| HTTP METHOD | PUT |
| Content-Type | application/json; charset=UTF-8 |
| Body | { "userId": "test", "password": "test", "name": "테스트", "email": "", "phoneNumber": "", "timeZone": "GMT+09:00", "language": "ko", "groups": [ "users", “testGroups” ], "locale": "kr" } |
| Response | {"status": 200} |
삭제
| 항목 | 설명 |
|---|---|
| URL | /monitoring/api/user/{사용자 아이디} |
| URL 요청 예시 | /monitoring/api/user/test |
| HTTP METHOD | DELETE |
| Content-Type | application/json; charset=UTF-8 |
| Body | |
| Response | {"status": 200} |