添加一个SAML映射¶
POST /api/v1/saml/mapping/field/add
概述¶
添加一个SAML映射
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/add' \
-H 'DF-API-KEY: <DF-API-KEY>' \
-H 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{"sourceField": "jin","sourceValue": "lei","targetValue": "wsAdmin"}' \
--compressed \
--insecure