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 Allow Empty: False Max Length: 256 |
sourceValue | string | Y | Source Field Value Example: Allow Empty: False Max Length: 256 |
targetValues | array | Y | Target Field Values (Currently Defaults to a List of Role UUIDs) Example: ['readOnly'] |
Additional Parameter Notes¶
Request Example¶
curl 'https://openapi.truewatch.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