doc-exports/docs/lts/api-ref/lts_02_0009.html
Hasko, Vladimir 255730fbf9 lts_api (recreate of #279)
Reviewed-by: Kucerak, Kristian <kristian.kucerak@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2022-12-02 09:17:17 +00:00

5.6 KiB

Deleting a log stream

Function

This function describes how to delete a log stream that will not be used.

Before deleting a log stream, ensure that the log stream has no log transfer tasks. Deleted log streams cannot be recovered. Therefore, exercise caution when performing this deletion operation.

URI

  • URI format

    DELETE /v2.0/{project_id}/log-groups/{group_id}/log-topics/{topic_id}

  • Parameter description
    Table 1 Parameter description

    Parameter

    Mandatory

    Type

    Description

    project_id

    Yes

    String

    Project ID

    group_id

    Yes

    String

    ID of a created log group

    topic_id

    Yes

    String

    ID of a created log stream

Request

  • Request parameters

    None

  • Example request
    DELETE /v2.0/{project_id}/log-groups/{group_id}/log-topics/{topic_id}

Response

  • Parameter description

    None

  • Example response

    None

Returned Value

  • Normal

    204

  • Abnormal

    For details about status code, see Status Code.