Chilkat Online Tools

Unicode C++ / Microsoft Graph / Add connector group as member

Back to Collection Items

void ChilkatSample(void)
    {
    json.UpdateString(L"id",L"childGraphConnectorGroupId");    json.UpdateString(L"type",L"externalGroup");    http.put_AuthToken(L"<access_token>");
    }

Curl Command

curl -X POST
	-H "Authorization: Bearer <access_token>"
	-d '{
   "id":"childGraphConnectorGroupId",
   "type":"externalGroup"
}'
https://graph.microsoft.com/v1.0/external/connections/sampleConnectionId/groups/graphConnectorGroupId/members/

Postman Collection Item JSON

{
  "name": "Add connector group as member",
  "request": {
    "method": "POST",
    "header": [
    ],
    "body": {
      "mode": "raw",
      "raw": "{\r\n   \"id\":\"childGraphConnectorGroupId\",\r\n   \"type\":\"externalGroup\"\r\n}",
      "options": {
        "raw": {
          "language": "json"
        }
      }
    },
    "url": {
      "raw": "https://graph.microsoft.com/v1.0/external/connections/sampleConnectionId/groups/graphConnectorGroupId/members/",
      "protocol": "https",
      "host": [
        "graph",
        "microsoft",
        "com"
      ],
      "path": [
        "v1.0",
        "external",
        "connections",
        "sampleConnectionId",
        "groups",
        "graphConnectorGroupId",
        "members",
        ""
      ]
    }
  },
  "response": [
  ]
}