Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

create a private group via the yammer API

Tags:

yammer

Is there a way to create a private group using the "yammer API"?

like image 887
Gamesha Avatar asked Nov 25 '25 01:11

Gamesha


2 Answers

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.");
                    }
                });
like image 138
Mahesh Avatar answered Nov 26 '25 19:11

Mahesh


No. You can only join/leave an existing group for the current user. See https://developer.yammer.com/restapi/#rest-groups

like image 31
Peter Walke Avatar answered Nov 26 '25 20:11

Peter Walke



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!