修改¶
POST /api/v1/wksp_share/{wksp_share_uuid}/modify
概述¶
路由参数¶
参数名 | 类型 | 必选 | 说明 |
---|---|---|---|
data_mask_rule_uuid | string | Y | 数据脱敏规则的 uuid |
Body 请求参数¶
参数名 | 类型 | 必选 | 说明 |
---|---|---|---|
type | array | Y | 数据类型, ["*"] 表示全部 例子: ['metric', 'keyevent', 'network', 'rum', 'dialtest', 'billing', 'logging', 'tracing', 'object', 'custom_object', 'profiling', 'llm'] 允许为空: True |
indexes | array | Y | 索引名, [""]表示全部 例子: [''] 允许为空: False |
参数补充说明¶
请求例子¶
curl 'https://openapi.guance.com/api/v1/wksp_share/<wksp_share_uuid>/modify' \
-H 'Content-Type: application/json' \
-H 'DF-API-KEY: <DF-API-KEY>' \
--data-raw '{"type":["logging"],"indexes":["test_aa"]}' \
--compressed
响应¶
{
"code": 200,
"content": {
"authorizationCode": "3a76b5cf47b24bcfa1febbc3b31cb6be",
"createAt": 1757572382,
"creator": "wsak_7e0689c908774efda1b345c20c5d23d7",
"declaration": {
"asd": "aa,bb,cc,1,True",
"asdasd": "dawdawd",
"business": "aaa",
"dd": "dd",
"fawf": "afawf",
"organization": "64fe7b4062f74d0007b46676"
},
"delayDeleteAt": -1,
"deleteAt": -1,
"id": 468,
"indexes": [
"test_aa"
],
"regionCode": "testing",
"status": 0,
"toRegionCode": "testing",
"toWorkspaceName": "doris testing",
"toWorkspaceUUID": "wksp_a810008c0e4e4e70ad9222c01f083287",
"type": [
"logging"
],
"updateAt": -1,
"updator": "",
"uuid": "grant_2ee1f355abf84a038f4aacb9319fd747",
"workspaceName": "testing workspace",
"workspaceUUID": "wksp_4b57c7bab38e4a2d9630f675dc20015d"
},
"errorCode": "",
"message": "",
"success": true,
"traceId": "TRACE-B0F24E23-6043-4FF7-B77F-F33E07A3525E"
}