Skip to content

Delete an Asset Type

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.

Delete Asset Type

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

Note

You can not delete any Asset Types if they are linked to any Asset.

The delete icon will be gray and unselectable.

Asset Types 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 and then click on the Asset Types tab.

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

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

You can also delete Asset Types in bulk by selecting the rows you want to delete and clicking on the Delete button.

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

You will get a response similar to this;

API cURL Example Response
1
<Response [200]>
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 Type
response = client.asset.delete_asset_type(asset_type_name="doc_demo_asset_type")

print(response)

You will not receive a response;