TeamViewer API - Add User to User Group

CraigMcKenzie
CraigMcKenzie Posts: 3 ✭✭
edited June 2023 in Deployment & Integrations

Hi all,


I'm attempting to use the API to add users to a user group via: POST /api/v1/usergroups/{groupId}/members.

The API is looking for an 'AccountID' as an array [INT] instead of a 'User ID'?

What is this 'AccountID'? The API documentation just mentions:

"List of account identifiers to add to the user group. Must be given as JSON formatted array."


Thanks in advance!

Answers