Sync Group Users
Sync entity group users. This will add users to entities that do not have them and remove users from entities that have them.
Path parameters
entityGroupId
Entity Group ID or Entity Group ForeignID
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
copyUsersFrom
Entity ID / foreign ID of an entity currently in the group to copy users and roles from. If not provided, users will be synced from the entity with the most users that has been updated most recently.
filterRoles
List of roles to filter users by. If not provided, all users will be copied. If provided, only users with the provided roles will be copied.
addUsers
If true, users will be added to entities if they are not found in the copyUsersFrom entity. Default is true.
removeUsers
If true, users will be removed from entities if they are not found in the copyUsersFrom entity. Default is false.