Delete subcommunities programmatically
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.
Table 1. Atom API request details
Method Resource URI Input and output representations DELETE subcommunity 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. none
Input
None.
Output
None.Returned HTTP headers
HTTP/1.1 200 OK
Indicates that the subcommunity was successfully deleted.
- HTTP/1.1 401 Unauthorized
- HTTP/1.1 404 Not Found
Parent topic
Work with subcommunitiesRelated reference
Community entry content
});