lts__DeleteLogStream
Deletes a specified log stream within a log group; if the stream has log dumping configured, cancel it before deletion.
Instructions
[LTS] 该接口用于删除指定日志组下的指定日志流。当该日志流配置了日志转储,需要取消日志转储后才可删除。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"log_group_id": "<log_group_id>",
"log_stream_id": "<log_stream_id>",
"project_id": "<project_id>"
},
"name": "lts__DeleteLogStream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 项目ID,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。 | None |
| log_group_id | Yes | 租户想删除的日志流所在的日志组的groupid,一般为36位字符串。 | None |
| log_stream_id | Yes | 需要删除的日志流ID,获取方式请参见:获取账号ID、项目ID、日志组ID、日志流ID(https://support.huaweicloud.com/api-lts/lts_api_0006.html)。 | None |