Delete a Logging Pipeline Instance

To delete your logging pipeline, you need the ID of the respective pipeline.

Request

The following is a sample request. Remember to replace the {pipelineID} with a valid ID of the specific pipeline that must be deleted.

curl --location \
--request DELETE 'https://logging.de-txl.ionos.com/pipelines/{pipelineId}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer $TOKEN'

Response

{
    "id": "1232-b8d5-42a0-9781-rgft",
    "type": "Pipeline",
    "metadata": {
        "createdDate": "2023-08-31T11:01:53Z",
        "createdBy": "user@ionos.com",
        "createdByUserId": "124829",
        "createdByUserUuid": "1243-fd97-48ce-a375-64r6",
        "lastModifiedDate": "2023-08-31T11:01:53Z",
        "lastModifiedBy": "user@ionos.com",
        "lastModifiedByUserId": "124829",
        "lastModifiedByUserUuid": "1243-fd97-48ce-a375-64r6",
        "status": "DESTROYING"
    },
    "properties": {
        "name": "any",
        "logs": [
            {
                "public": true,
                "source": "docker",
                "tag": "dock",
                "destinations": [
                    {
                        "type": "loki",
                        "retentionInDays": 14
                    }
                ],
                "protocol": "tcp"
            },
            {
                "public": true,
                "source": "kubernetes",
                "tag": "k8s",
                "destinations": [
                    {
                        "type": "loki",
                        "retentionInDays": 14
                    }
                ],
                "protocol": "tcp"
            }
        ],
        "tcpAddress": "tcp-434-logs.3434.logging.de-txl.ionos.com:9000",
        "httpAddress": "",
        "grafanaAddress": "grafana.3434.logging.de-txl.ionos.com"
    }
}

Last updated