Skip to content

Modify Mapping Rules



POST /api/v1/saml/mapping/field/{fdmp_uuid}/modify

Overview

Modify a SAML mapping

Route Parameters

Parameter Name Type Required Description
fdmp_uuid string Y Mapping configuration ID

Body Request Parameters

Parameter Name Type Required Description
ssoUUID string SSO configuration UUID
Example: sso_xxx
Allow empty: False
Maximum length: 48
sourceField string Y Source field
Example: sourceField
Allow empty: False
Maximum length: 256
sourceValue string Y Source field value
Example:
Allow empty: False
Maximum 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.guance.com/api/v1/saml/mapping/field/fdmp_xxxx32/modify' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{"ssoUUID":"sso_xxxx32","sourceField":"sd1","sourceValue":"sd1_value1","targetValues":["general","readOnly"]}' \
--compressed 

Response

{
    "code": 200,
    "content": true,
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "TRACE-640BC199-EE6B-417C-8F43-A1AAFCBD287B"
} 

Feedback

Is this page helpful? ×