Skip to main content

16) View the complete list of security ratings by company

View the complete list of security levels registered in the management center.

API

MethodURL
POST/api/internal/security/levels

Request Header

NameRequiredDescription
AuthorizationrequiredUser authentication method, JWT value
Authorization: Bearer {JWT}
Note: The JWT value is issued through the authentication/authorization service.

Request Body

NameRequiredTypeDescription
companyIdrequiredstringCompany ID to check security level

Response

NameTypeDescription
codeint0 : Success
Other values: Error
datajsonArraySecurity Level List
   scLabelIdstringLabel ID (data that needs to be entered when editing document security levels)
   scLabelNamestringLabel Name
   scSecurityLevelIdstringClassification grade ID (a higher concept of label)
   scSecurityLevelNamestringGrade Name
messagestringError message on failure

Examples

Request

  • Body
{
"companyId": "3CJ55MSE-xLO7Sxt4-qUBKzbcs-XP2cgGEq"
}

Response

  • success
{
"code": 0,
"data": [
{
"scLabelId": "yoGSZ4pU-hLreQwr6-bk2Bl9aL-DvQ6sfKw",
"scLabelName": "Classified",
"scSecurityLevelId": "GgcoNPBJ-iN4WXGCm-s3YN6moy-4an7Nzx7",
"scSecurityLevelName": "C"
},
{
"scLabelId": "2ED2AiUx-BYUTCHRM-FzbwdJrW-8i6YuTv7",
"scLabelName": "Open",
"scSecurityLevelId": "oWc67uZC-UpX06Bao-En2fIIbx-a4rzXYTw",
"scSecurityLevelName": "O"
},
{
"scLabelId": "jPQOgOEa-Ge338ddW-3q4Wyy2S-Qy3w4mm5",
"scLabelName": "Sensitive",
"scSecurityLevelId": "AaqDHX6p-isGDTLc1-jPfEmTzN-GtFuVVJl",
"scSecurityLevelName": "S"
}
]
}

[보안 등급 정책 존재하지 않음]
{
"code": 0,
"data": []
}
  • failure
  • Status code : 500 INTERNAL_SERVER_ERROR
[토큰 검증 실패]
{
"code": 50001,
"message": "401 : \"{\"code\":40101,\"message\":\"Invalid token\",\"detail\":\"invalid_token\"}\""
}