curl -X POST https://console.jumpcloud.com/api/v2/usergroups/{GroupID}/members \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H 'x-api-key: {API_KEY}' \
-d '{
"op": "add",
"type": "user",
"id": "{User_ID}"
}'
Parameter | Description |
---|---|
Attributes | The graph attributes. |
Group ID | ObjectID of the User Group. |
Operator | How to modify the graph connection. |
User ID | The ObjectID of graph object being added or removed as an association. |
Parameter | Description |
---|---|
Organization ID | Organization identifier that can be obtained from console settings. |
Was this page helpful?