2) Security365 회사 별 빌트인 프로파일 조회 및 업데이트
Security365 회사 별 빌트인 프로파일 조회
API
Method | URL |
---|---|
POST | /builtInProfile/info/all |
Request Header
Name | Required | Description |
---|---|---|
Authorization | required | 사용자 인증 수단, JWT값 Authorization: Bearer {JWT} 참고 : JWT값은 인증/인가 서비스를 통해 발급 받는다. |
Request Body
Name | Required | Type | Description |
---|---|---|---|
companyId | required | string | Security365 SHIELD ID 서비스에 등록 된 companyId |
Response
Name | Type | Description |
---|---|---|
code | int | 성공 여부 (성공:0) |
data | JsonArray | 빌트인 프로파일 목록 |
key | string | 어트리뷰트 이름 |
value | string | 어트리뷰트 값 |
desc | string | 어트리뷰트 상세 |
use | string | 어트리뷰트 사용 유무 |
additionalInformation | string | 어트리뷰트 설명 |
Examples
Request
POST /builtInProfile/info/all
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIU....(생략).....
Response
- 빌트인 프로파일 조회 성공
{
"code": 0,
"data": [
{
"key": "TENANT_APP_ID",
"value": "9a24cf56-aeb0-468d-a15a-f27bf8aa0a95",
"use": true,
"additionalInformation": "회사별 App Id"
},
{
"key": "TENANT_APP_SECRET",
"value": "IictJisoIywlJSUoKSQmKSQlJCwnISIsJCgsKyotISo",
"use": true,
"additionalInformation": "회사별 App Secret"
},
...(생략)
]
}
- 토 큰 검증 실패
{
"code": 40101,
"message": "Invalid token",
"detail": "invalid_token"
}
- 내부 서비스 실패
{
"code": 50001,
"message": "An unexpected error has occurred in the internal system"
}
Security365 회사 별 빌트인 프로파일 업데이트
API
Method | URL |
---|---|
POST | /builtInProfile/info/update |