Files
doc-exports/docs/dds/api-ref/dds_api_025.html
wangdengke2 87153b4b9b dds_api
Reviewed-by: Gladkov, Maksim <mgladkov@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: wangdengke2 <wangdengke2@huawei.com>
Co-committed-by: wangdengke2 <wangdengke2@huawei.com>
2025-08-13 15:59:03 +00:00

12 KiB

Disassociating an Instance from an LTS Log Stream

API Description

After you have disassociated an instance from an LTS log stream, logs of the instance are not uploaded to the LTS log stream.

URI

Requests

  • Parameter description
    Table 3 Request body parameters

    Parameter

    Type

    Mandatory

    Description

    lts_configs

    Array of Table 4 objects

    Yes

    List of LTS configurations to be disabled. To disable multiple log configurations for an instance, you need to specify multiple items.

    Table 4 lts_configs

    Parameter

    Type

    Mandatory

    Description

    instance_id

    String

    Yes

    DDS Instance ID, which can be obtained by calling the API for querying instances and details. If there are no instances available, create one by calling the API used for creating an instance.

    log_type

    String

    Yes

    LTS log type. This parameter cannot be left empty. The only supported option is audit_log.

  • Example request

    Disabling audit log reporting to LTS for a DB instance

    DELETE https://{endpoint}/v3/619d3e78f61b4be68bc5aa0b59edcf7b/instances/logs/lts-configs

    { 
       "lts_configs" : [ { 
         "instance_id" : "520c58ba00a3497e97ce0b9604874dd6in02", 
         "log_type" : "audit_log" 
       } ] 
     }

Responses

  • Parameter description

    None

  • Example response

    None

Status Code

Status Code

Description

202

Accepted.

default

Client or server error.

Error Code

For details, see Error Code.