매핑 구성 추가¶
POST /api/v1/login_mapping/field/add
개요¶
Body 요청 매개변수¶
| 매개변수명 | 유형 | 필수 | 설명 |
|---|---|---|---|
| workspaceUUID | string | Y | 워크스페이스 UUID 예시: 워크스페이스 UUID 빈 값 허용: False |
| sourceField | string | Y | 소스 필드 예시: sourceField 빈 값 허용: False 최대 길이: 40 |
| sourceValue | string | Y | 소스 필드 값 예시: 빈 값 허용: False 최대 길이: 40 |
| targetValues | array | Y | 대상 필드 값 (현재 기본값은 역할의 UUID 값) 예시: ['readOnly'] |
매개변수 추가 설명¶
요청 예시¶
curl 'https://external-api.guance.com/api/v1/login_mapping/field/add' \
-X 'POST' \
-H 'Content-Type: application/json' \
-H 'X-Df-Access-Key: <AK key>' \
-H 'X-Df-Nonce: <임의 문자>' \
-H 'X-Df-Signature: <서명>' \
-H 'X-Df-Timestamp: <타임스탬프>' \
--data-raw $'{"workspaceUUID": "wksp_xxxx","sourceField": "email","sourceValue": "xxx@guance.com","targetValues": [ "readOnly"]}'
응답¶
{
"code": 200,
"content": {
"createAt": 1715323808,
"creator": "sys",
"deleteAt": -1,
"id": null,
"isSystem": true,
"sourceField": "email",
"sourceValue": "xxx@guance.com",
"status": 0,
"targetValues": [
"readOnly"
],
"updateAt": 1715323808,
"updator": "sys",
"uuid": "lgmp_xxxxx",
"workspaceUUID": "wksp_xxxx"
},
"errorCode": "",
"message": "",
"success": true,
"traceId": "TRACE-978CA704-5646-45D8-ACAE-84975BDD2250"
}