본문으로 건너뛰기

사용자 관리

사용자

조회

항목설명
URL/monitoring/api/users
URL 요청 예시/monitoring/api/users
HTTP METHODGET
Content-Typeapplication/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 METHODPOST
Content-Typeapplication/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 METHODPUT
Content-Typeapplication/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 METHODDELETE
Content-Typeapplication/json; charset=UTF-8
Body
Response{"status": 200}