Is there a way to create a private group using the "yammer API"?
You can use below code
yam.platform.request({
// yam.request({
url: "groups.json?name=Group_Name&private=true",
method: "POST",
data: {},
success: function (group) {
console.dir(group);
getMyGroups();
},
error: function (group) {
console.error("There was an error with the request.");
}
});
No. You can only join/leave an existing group for the current user. See https://developer.yammer.com/restapi/#rest-groups
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With