修改一个SAML映射¶
POST /api/v1/saml/mapping/field/{fdmp_uuid}/modify
概述¶
修改一个SAML映射
路由参数¶
参数名 | 类型 | 必选 | 说明 |
---|---|---|---|
fdmp_uuid | string | Y | 映射配置id |
Body 请求参数¶
参数名 | 类型 | 必选 | 说明 |
---|---|---|---|
sourceField | string | Y | 源字段 例子: sourceField 允许为空: False |
sourceValue | string | Y | 源字段值 例子: 允许为空: False |
targetValue | string | Y | 目标字段值(目前默认为 角色的UUID 值) 例子: readOnly |
参数补充说明¶
请求例子¶
curl 'https://openapi.guance.com/api/v1/saml/mapping/field/fdmp_2f8f0085af2641928e8388da7d1318f5/modify' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{"sourceField": "AAAAA","sourceValue": "lei","targetValue": "wsAdmin"}' \
--compressed