Skip to main content

subteam_updated event

An existing User Group has been updated or its members changed

Facts

Required Scopes
Compatible APIs

Usage info

This example includes both the event wrapper and the event structure for the subteam_updated event.

{
"token": "XXYYZZ",
"team_id": "T123ABC456",
"api_app_id": "A123ABC456",
"event": {
"type": "subteam_updated",
"subteam": {
"id": "S516MPG9X",
"team_id": "T0GMXV71T",
"is_usergroup": true,
"is_subteam": true,
"name": "My User Group Test",
"description": "User Group Test",
"handle": "user-group-test",
"is_external": false,
"date_create": 1492655498,
"date_update": 1595814882,
"date_delete": 0,
"auto_type": null,
"auto_provision": false,
"enterprise_subteam_id": "",
"created_by": "U0GN26UBG",
"updated_by": "U0GN26UBG",
"deleted_by": null,
"prefs": {
"channels": [
"CJG07GZDK"
],
"groups": []
},
"users": [
"U123ABC456",
"U0GNBSG1G",
"U0K0XMM2R",
"U1FLR7FB8",
"U3S7347ED",
"U5ZR5M0FM",
"U600XRXS9"
],
"user_count": 7,
"channel_count": 0
}