---
title: "Delete widget type (deleteWidgetType)"
method: DELETE
path: "/api/widgetType/{widgetTypeId}"
tags: ["widget-type-controller"]
---

# Delete widget type (deleteWidgetType)

`DELETE /api/widgetType/{widgetTypeId}`

Deletes the  Widget Type. Referencing non-existing Widget Type Id will cause an error.

Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority.

## Path parameters

- `widgetTypeId` string, required

## Response `200`

OK

---

[API](https://skmtc.net/thingsboard/apis/thingsboard-rest-api.md) · [All operations](https://skmtc.net/thingsboard/apis/thingsboard-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/thingsboard/thingsboard-rest-api/revisions/40169ccdec5c/schema)
