Delete a widget type
Permanently removes the widget type. This is a hard delete — the record is removed from the database.
All widgets that reference this widget type are also permanently deleted (cascade). Verify that no widgets are using the type before deleting it.
delete/widget_types/{id}/
Authorizations
AuthorizationstringRequired
Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.
Path parameters
idintegerRequired
The unique identifier of the widget type.
Responses
204
The widget type was deleted. No content is returned.
No content
401
Authentication credentials were not provided or are invalid.
application/json
403
The authenticated user does not have administrator privileges.
application/json
404
The requested widget type does not exist.
application/json
delete/widget_types/{id}/
DELETE /api/v1/remote/1/widget_types/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
No content
Last updated
Was this helpful?

