Modify Mapping Configuration¶
POST /api/v1/login_mapping/field/{lgmp_uuid}/modify
Overview¶
Route Parameters¶
Parameter Name | Type | Required | Description |
---|---|---|---|
lgmp_uuid | string | Y | Mapping configuration id |
Body Request Parameters¶
Parameter Name | Type | Required | Description |
---|---|---|---|
sourceField | string | Y | Source field Example: sourceField Nullable: False Maximum length: 256 |
sourceValue | string | Y | Source field value Example: Nullable: False Maximum length: 256 |
targetValues | array | Y | Target field values (currently default to a list of role UUIDs) Example: ['readOnly'] |
Additional Parameter Notes¶
Request Example¶
curl 'https://openapi.guance.com/api/v1/login_mapping/field/lgmp_xxxx32/modify' \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'DF-API-KEY: <DF-API-KEY>' \
--data-raw '{"sourceField":"name","sourceValue":"lisa-new","targetValues":["wsAdmin"]}' \
--compressed