Groups resouce
      
      
    Site group management - Add user to a group
OVERVIEW
This API method associates a user to a group
Request URI
PUT /api/3/sites/{siteid}/groups/{groupid}/users?userid={userid}
Request parameters
| Parameter | Value | Description | 
|---|---|---|
| siteid | integer | The ID of the site. The siteid can be obtained by calling the Get site list API | 
| groupid | integer | The ID of the site group. The groupid can be obtained by calling the Get all site groups API and for Admin GroupID Admin group representation consider -2 to -6 | 
| userid | integer | The ID of the user to be added to the group.The userid can be obtained by calling the Get site users API | 
Response
The API returns a 200 OK if successful otherwise an error object and error code.
		Last Updated: Nov 08,2024
	
 
		
												
												
Comments
0 Comments