跳转至

获取SAML映射列表



GET /api/v1/saml/mapping/field/list

概述

获取SAML映射列表

Query 请求参数

参数名 类型 必选 说明
ssoUUID string 过滤身份提供商, sso配置UUID
例子: sso_xxx
允许为空: False
最大长度: 48
search string 搜索,默认搜索角色名,源字段名和源字段值
例子: supper_workspace
允许为空: False
pageIndex integer 页码
允许为空: False
例子: 10
$minValue: 1
pageSize integer 每页返回数量
允许为空: False
例子: 10
$minValue: 1
$maxValue: 100

参数补充说明

请求例子

curl 'https://openapi.guance.com/api/v1/saml/mapping/field/list' \
-H 'DF-API-KEY: <DF-API-KEY>' \
--compressed 

响应

{
    "code": 200,
    "content": [
        {
            "createAt": 1677826771,
            "creator": "acnt_xxxx32",
            "deleteAt": -1,
            "id": 66,
            "roleInfo": {
                "name": "Administrator",
                "uuid": "wsAdmin"
            },
            "sourceField": "QQ",
            "sourceValue": "qq",
            "status": 0,
            "targetValue": "wsAdmin",
            "updateAt": 1677827772,
            "updator": "acnt_xxxx32",
            "uuid": "fdmp_xxxx32",
            "workspaceUUID": "wksp_xxxx32"
        }
    ],
    "errorCode": "",
    "message": "",
    "pageInfo": {
        "count": 1,
        "pageIndex": 1,
        "pageSize": 10,
        "totalCount": 1
    },
    "success": true,
    "traceId": "TRACE-A9DB3123-FB6D-4595-9784-5A2B9C6C8439"
} 

文档评价

文档内容是否对您有帮助? ×