Created
February 9, 2021 21:07
-
-
Save expiscornovus/583651db450f3848eb3cd09eeea8821a to your computer and use it in GitHub Desktop.
Add a user to a Group via Yammer REST API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Method - POST | |
URI - https://www.yammer.com/api/v1/group_memberships.json | |
Headers - | |
{ | |
"Authorization": "Bearer @{variables('YammerAccessToken')}", | |
"content-type": "application/json; charset=utf-8" | |
} | |
Body - | |
{ | |
"user_id": "@{variables('User_id')}", | |
"group_id": "@{variables('YammerDestinationGroup')}", | |
"email": "@{variables('Email')}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment