Delete a widget
Deletes the widget and its visitors' conversations, and every page that embeds it stops showing it. What it spent stays in the usage figures. Cannot be undone; pause it instead to keep it.
DELETE/v1/widgets/{widget_id}
Requires assistants:delete.
Deleting a widget needs assistants:delete, the same scope as deleting an assistant. It cannot be undone: the widget, its visitors’ conversations and its link are gone, and every page that embeds it stops showing it. What it cost stays in the usage figures.
To stop a widget without losing it, update it with status: "paused".
Authorizations
Authorizationbearerin headerrequiredPath parameters
widget_idstringrequiredpattern: ^wdg_[abcdefghjkmnpqrstuvwxyz23456789]{12}$Response
Delete a widget
dataobjectrequiredrequest_idstringrequiredPossible codes: authentication_required, invalid_api_key, api_key_expired, api_key_revoked, invalid_access_key
errorobjectrequiredrequest_idstringrequiredPossible codes: insufficient_scope, feature_not_available, admin_required, permission_denied
errorobjectrequiredrequest_idstringrequiredPossible codes: resource_not_found
errorobjectrequiredrequest_idstringrequiredPossible codes: rate_limited
errorobjectrequiredrequest_idstringrequiredPossible codes: internal_error
errorobjectrequiredrequest_idstringrequired