Skip to content

Delete a Data Stream

Reference:

Field Description
Name Unique name identifier. It must contain only lowercase alphanumeric characters. The characters ., _ and - are allowed to separate words instead of a space BUT can not be at the beginning or end of the name.
Title The display name to show on the Kelvin UI. It can contain any characters, including spaces.
Description Optional description for the data stream, up to 200 characters.
Type Yes
Semantic Type No
Data Type Yes
Unit Defines the measurement unit for data. Check Kelvin API for the full list of available units.

Delete Data Stream

Deleting a Data Stream is very simple. The only information you need is the actual name of the Data Stream.

You can watch this short demo video or read the full step-by step written tutorial below.

There are two ways to delete Data Streams, either with the delete button or in edit mode.

To delete with the Delete button, simply go to the Data Streams page, select the Data Stream to delete and click the Delete button.

To delete in edit mode, go to the Data Streams page, select the Data Stream you want to edit and click on the Pencil button on the right hand side.

Then click on the Delete button and confirm the delete.

API cURL Example
1
2
3
4
5
curl -X "POST" \
"https://<url.kelvin.ai>/api/v4/datastreams/doc_demo_data_stream/delete" \
-H "Authorization: Bearer <Your Current Token>" \
-H "Accept: application/json" \
-d ''
API Client (Python) Example
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
from kelvin.api.client import Client

# Login
client = Client(config={"url": "https://<url.kelvin.ai>", "username": "<your_username>"})
client.login(password="<your_password>")

# Delete Data Stream
response = client.datastreams.delete_data_stream(data_stream_name='doc_demo_data_stream')

print(response)