Modify¶
POST /api/v1/wksp_share/{wksp_share_uuid}/modify
Overview¶
Route Parameters¶
Parameter Name | Type | Required | Description |
---|---|---|---|
data_mask_rule_uuid | string | Y | The uuid of the data masking rule |
Body Request Parameters¶
Parameter Name | Type | Required | Description |
---|---|---|---|
type | array | Y | Data type, ["*"] means all Example: ['metric', 'keyevent', 'network', 'rum', 'dialtest', 'billing', 'logging', 'tracing', 'object', 'custom_object', 'profiling', 'llm'] Allow empty: True |
indexes | array | Y | Index name, [""] means all Example: [''] Allow empty: False |
Additional Parameter Notes¶
Request Example¶
curl 'https://openapi.truewatch.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
Response¶
{
"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"
}