Deleting subcommunities
Added by IBM contributorIBM | Edited by Claudia R Elbourn on June 15, 2015
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

To delete a subcommunity, use the HTTP DELETE method.
Tags: commapi
Only the owner of a subcommunity can delete it. Deleted subcommunities cannot be restored.
Input
Method URI Description
DELETE /communities/service/atom/community/instance Value of the href attribute of <link> element that has a rel="edit" attribute value for each entry that represents a subcommunity in the My Communities feed.
Name Type Optional Description
communityUuid
string No The uuid of the SUBCOMMUNITY you wish to delete.
Output
Code Description
200
Indicates that the subcommunity was successfully deleted.
401
Unauthorized. Returned when no authenticated user or no userid, email, or key parameter are provided on the request.
404
Not Found.