Community articleDeleting subcommunities programmatically
Added by IBM contributorIBM on March 14, 2014
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



To delete a subcommunity, use the HTTP DELETE method.

Only the owner of a subcommunity can delete it. Deleted subcommunities cannot be restored.

See Authenticating requests for information about how to authenticate the request.

Input

None.

Output

None.

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.