API Information:
Endpoint = https://<customerdomain>/oauth2_openid/sharepoint/auto_link_sites/
Method: POST
Header: Authorization: NCC token=<eShareOrgAdminUserToken>
Body format: JSON
Body content:
{
"groups":["<SPO_SITE_NAME>"],
"groups_details":[
{"name":"<SPO_SITE_NAME>”, "id":"<SPO_SITE_GROUP_ID>",
"security_group":false,
"mail":"<SPO_GROUP_EMAIL>",
"mail_nickname":"<SPO_GROUP_NAME>", "description":"<SPO_SITE_DESCRIPTION>, "is_teams_site":true/false}]
}
Example of Body Content:
{
"groups":["Test_Approvers"], "groups_details":[
{"name":"Test_Approvers",
"id":"4637146a-e948-43eb-9236-9d6e5d7c8a85",
"security_group":false, "mail":"Test_Approvers@aerospacerocks.com", "mail_nickname":"Test_Approvers", "description":"Test_Approvers", "is_teams_site":false}]
}
Example of Successful Response:
{
"task": "e1cabb67-5a43-4126-a0a2-a3b92b105bca",
"task_url": "https://secure.aerospacerocks.com/cloudwebportal/api/v1/tasks/?task_id=e1cabb67- 5a43-4126-a0a2-a3b92b105bca"
}
ESHARE | 303 WYMAN ST, SUITE 270, WALTHAM, MA 02451 | 617.520.4120 | INFO@ESHARE.COM | WWW.ESHARE.COM