Using the Atom Publishing Protocol, also known as AtomPub, you can create or update forums.
Creating forums programmatically
To create a stand-alone forum, send an Atom entry document containing the forum entry document to the root collection resource.
To retrieve complete information about a forum, use the edit <link> found in the forum entry in the Forums feed.
To update a stand-alone forum, send an updated forum document in Atom format to the existing forum's edit web address.
Deleting forums programmatically
To delete a forum, use the HTTP DELETE method.