Create Mapping Rule¶
POST /api/v1/saml/mapping/field/add
Overview¶
Add a SAML mapping
Body Request Parameters¶
Parameter Name | Type | Required | Description |
---|---|---|---|
ssoUUID | string | Y | SSO configuration UUID Example: sso_xxx Nullable: False Maximum length: 48 |
sourceField | string | Y | Source field Example: sourceField Nullable: False |
sourceValue | string | Y | Source field value Example: Nullable: False |
targetValues | array | Y | Target field values (currently defaults to list of role UUIDs) Example: readOnly |
Additional Parameter Notes¶
Request Example¶
curl 'https://openapi.guance.com/api/v1/saml/mapping/field/add' \
-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"]}' \
--compressed