Skip to content

Delete an Asset

Reference:

Field Description
Name (Name ID) 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 (Display Name) The display name to show on the Kelvin UI. It can contain any characters, including spaces.
Asset Type The name of the Asset Type that this Asset belongs to. This must be a valid Asset Type name.
Properties A list of key/value pairs that define custom properties of the asset. Use this to define attributes like: Location, Site, PLC Type, Manufacturer, Serial Number, etc.

Delete Asset

Deleting an Asset is very simple. The only information you need is the actual name of the Asset.

Assets can be managed from the Administration section of the UI.

Do not get confused with the Asset management in the Operations section which is designed for the Production Engineers.

To start, go to the Assets in the Administration section of the left side bar.

To delete an Asset, click on the rubbish bin icon on the right hand side of of an Asset row;

Note

You can not delete any Asset if they being used by any Connection or Kelvin SmartApp™.

The delete icon will be gray and unselectable.

Then in the popup type PERMANENTLY DELETE to confirm the delete action.

To make life easier, you can copy the Asset Name from the Kelvin UI in Operations → Assets. Hover over the Asset Name below the Asset Title in the table, then click on the copy icon that will appear to the right of the name.

API cURL Example
1
2
3
4
5
curl -X "POST" \
"https://<url.kelvin.ai>/api/v4/assets/doc_demo_asset/delete" \
-H "Authorization: Bearer <Your Current Token>" \
-H "Accept: application/json" \
-d ''

To make life easier, you can copy the Asset Name from the Kelvin UI in Operations → Assets. Hover over the Asset Name below the Asset Title in the table, then click on the copy icon that will appear to the right of the name.

API Client (Python) Example
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
from kelvin.api.client import Client

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

# Delete Asset
response = client.asset.delete_asset(asset_name="doc_demo_asset")

print(response)

You will not receive a response.