16) 회사 별 보안 등급 전체 목록 조회
관리센터에 등록 된 보안 등급 전체 목록 조회
API
Method | URL |
---|---|
POST | /api/security/levels |
Request Body
Name | Required | Type | Description |
---|---|---|---|
licenseKey | required | string | SHIELDRM 관리자 페이지의 연동 앱 관리 메뉴에서 발급 받은 라이선스 입력 |
Response
Name | Type | Description |
---|---|---|
code | int | 0 : 성공 이외의 값 : 에러 |
data | jsonArray | 보안 등급 목록 |
labelId | string | 레이블 아이디(문서 보안 등급 편집 시 입력 해야 되는 데이터) |
labelName | string | 레이블 이름 |
securityLevelId | string | 등급 아이디(레이블의 상위 개념인 분류 등급 아이디) |
securityLevelName | string | 등급 이름 |
message | string | 실패 시 에러 메시지 |
Examples
Request
- Body
{
"licenseKey": "1EC0-3BFA8-7AA2-54423"
}
Response
- 성공
{
"code": 0,
"data": [
{
"labelId": "yoGSZ4pU-hLreQwr6-bk2Bl9aL-DvQ6sfKw",
"labelName": "Classified",
"securityLevelId": "GgcoNPBJ-iN4WXGCm-s3YN6moy-4an7Nzx7",
"securityLevelName": "C"
},
{
"labelId": "2ED2AiUx-BYUTCHRM-FzbwdJrW-8i6YuTv7",
"labelName": "Open",
"securityLevelId": "oWc67uZC-UpX06Bao-En2fIIbx-a4rzXYTw",
"securityLevelName": "O"
},
{
"labelId": "jPQOgOEa-Ge338ddW-3q4Wyy2S-Qy3w4mm5",
"labelName": "Sensitive",
"securityLevelId": "AaqDHX6p-isGDTLc1-jPfEmTzN-GtFuVVJl",
"securityLevelName": "S"
}
]
}
[보안 등급 정책 존재하지 않음]
{
"code": 0,
"data": []
}
- 실패
- Status code : 401 Unauthorized
[라이선스 검증 실패]
{
"code": 40101,
"message": "{\"code\":40107,\"message\":\"No matching license found\",\"detail\":\"License skms_connector_info information is empty.\"}"
}