跳转至

获取Key列表



GET /api/v1/workspace/accesskey/list

概述

获取Key列表

Query 请求参数

参数名 类型 必选 说明
search string 根据名称搜素
例子: supper_workspace
允许为空: False

参数补充说明

请求例子

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

响应

{
    "code": 200,
    "content": [
        {
            "createAt": 1677808718,
            "creator": "acnt_349ee5f70a89442fa94b4f754b5acbfe",
            "creatorInfo": {
                "email": "88@qq.com",
                "iconUrl": "",
                "name": "88测试",
                "username": "测试"
            },
            "deleteAt": -1,
            "id": 4,
            "name": "test",
            "sk": "aD8ewPWSu07NcdoG92KnXlvk6FHOBCfQ",
            "status": 0,
            "updateAt": 1677808718,
            "updator": "acnt_349ee5f70a89442fa94b4f754b5acbfe",
            "uuid": "wsak_b0f7f2b592614f0bbdb003eb9961717d",
            "workspaceUUID": "wksp_8ea5c78a71e64298bffd4d3ec03f1a5f"
        }
    ],
    "errorCode": "",
    "message": "",
    "success": true,
    "traceId": "TRACE-B73F5F23-046C-4A84-8B33-D028C92994C4"
} 

文档评价

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