권한 목록 조회
/rest/admin/auth등록된 모든 권한(Role) 목록을 조회합니다.
GET /rest/admin/auth
등록된 모든 권한(Role) 목록을 조회합니다.
Request
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
key | string | Yes | API 인증 키 |
Response
200 OK
{
"auths": [
{
"authId": "ADMIN",
"authNm": "Administrator",
"actionTypes": ["READ", "WRITE", "EXECUTE"]
}
]
}
401 Unauthorized
{
"error": "Unauthorized",
"code": "UNAUTHORIZED"
}
Example
curl "https://{{manager-host}}:{{port}}/rest/admin/auth?key=YOUR_API_KEY"