# Modify batch of user groups **POST /api-v1/user-group/batch** ## Servers - https://wyzio.app: https://wyzio.app () ## Parameters ### Headers - **TARGET-ORGANIZATION-ID** (integer(int32)) ID of organization, for which the operation must be performed - **WEAL-TOKEN** (string) API token (can be retrieved from account settings) ### Body: application/json (array[object]) userGroups - **description** (string) - **globalRoles** (array[object]) - **groupIds** (array[integer]) - **id** (integer) - **isAdvanced** (boolean) - **name** (string) - **roles** (array[object]) - **rule** (string) - **type** (string) - **userIds** (array[integer]) ## Responses ### 200 OK #### Body: application/json (object) - **items** (array[object]) ### 400 Error ### 401 401 Unauthorized ### 403 403 Access Denied ### 404 404 Not Found ### 500 500 Internal Server Error [Powered by Bump.sh](https://bump.sh)