Community articleDeleting a community widget
Added by IBM contributorIBM on December 21, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Deleting a community widget
Tags: commapi

Deleting a widget from a communty



To delete a widget from a Community, do a DELETE on the widget's "self" link obtained from the widget's entry obtained from a previous request like Getting a list of the widgets in a community.

Table 1. Request/Response Parameters


Request URL
Request Body
Response Body
Possible Errors
"self" link from the widget's entry
ignored
empty
  • Can't delete files widget when have media gallery widget in use (400)
  • Widget id not found (403)

Related Pages



Parent with ATOM entry documentation: Working with community widgets

Input
Method URI Description
DELETE /communities/service/atom/community/widgets "self" link from the widget's entry
Name Type Optional Description
communityUuid
string No The UUID of the community you wish to retrieve widget from.
widgetInstanceId
string No ID of specific widget you wish to delete
Output
Code Description
400
Can't delete files widget when have media gallery widget in use
403
Widget id not found