2) Security365 Company-Specific Built-in Profile View and Update
View Built-in Profiles by Company in Security365
API
| Method | URL |
|---|---|
| POST | /builtInProfile/info/all |
Request Header
| Name | Required | Description |
|---|---|---|
| Authorization | required | User authentication method, JWT value Authorization: Bearer {JWT}- Note: The JWT value is issued through the authentication/authorization service. - Note: The token must be issued with the companyId included in the request body. |
Request Body
| Name | Required | Type | Description |
|---|---|---|---|
| companyId | required | string | companyId registered in the Security365 SHIELD ID service |
Response
| Name | Type | Description |
|---|---|---|
| code | int | Success status (Success:0) |
| data | JsonArray | Built-in Profile List |
| key | string | Attribute Name |
| value | string | Attribute value |
| desc | string | Attribute Details |
| use | string | Use of Attributes |
| additionalInformation | string | Attribute Description |
Examples
Response
- Built-in profile retrieval successful
{
"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"
},
...(생략)
]
}
- Token validation failed
{
"code": 40101,
"message": "Invalid token",
"detail": "invalid_token"
}
- Internal Service Failure
{
"code": 50001,
"message": "An unexpected error has occurred in the internal system"
}
Security365 Company-Specific Built-in Profile Update
API
| Method | URL |
|---|---|
| POST | /builtInProfile/info/update |
Request Header
| Name | Required | Description |
|---|---|---|
| Authorization | required | User authentication method, JWT value Authorization: Bearer {JWT}- Note: The JWT value is issued through the authentication/authorization service. - Note: The token must be issued with the companyId included in the request body. |
Request Body
| Name | Required | Type | Description |
|---|---|---|---|
| companyId | required | string | companyId registered in the Security365 SHIELD ID service |
| data | required | array | Built-in Profile List |
| key | required | string | Attribute Name |
| value | required | string | Attribute value |
| desc | required | string | Attribute Details |
| use | required | string | Use of Attributes |
| additionalInformation | required | string | Attribute Description |
Response
| Name | Type | Description |
|---|---|---|
| code | int | Success status (Success:0) |
| message | string | Response content |
Examples
Response
- Built-in profile update successful
{
"code": 0,
"message" : "BuiltIn Profile Update Successfully"
}
- Token validation failed
{
"code": 40101,
"message": "Invalid token",
"detail": "invalid_token"
}
- No required parameters
{
"code": 40105,
"message": "Required value is missing",
"detail": "Required information is empty."
}
- Internal Service Failure
{
"code": 50001,
"message": "An unexpected error has occurred in the internal system"
}