Skip to content

【Login Mapping】Modify a 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
workspaceUUID string Workspace UUID
Example: Workspace UUID
Can be empty: False
sourceField string Y Source field
Example: sourceField
Can be empty: False
Maximum length: 40
sourceValue string Y Source field value
Example:
Can be empty: False
Maximum length: 40
targetValues array Y Target field values (currently defaults to role UUID values)
Example: ['readOnly']

Additional Parameter Notes

Request Example

curl '<Endpoint>/api/v1/login_mapping/field/lgmp_xxxxx/modify' \
  -X 'POST' \
  -H 'Content-Type: application/json' \
  -H 'X-Df-Access-Key: <AK key>' \
  -H 'X-Df-Nonce: <random characters>' \
  -H 'X-Df-Signature: <signature>' \
  -H 'X-Df-Timestamp: <timestamp>' \
  --data-raw $'{ "workspaceUUID": "wksp_xxxx", "sourceField": "email2", "sourceValue": "xxx@qq.com", "targetValues": ["readOnly" ]}'

Response

{
    "code": 200,
    "content": true,
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "TRACE-FC3488AA-3452-4031-9BDA-3CD710025D66"
} 

Feedback

Is this page helpful? ×