Usergroups
Usergroups Enable
Enable a User Group
Authorization
slackAuth usergroups:writeAuthorizationBearer <token>
In: header
Scope: usergroups:write
Header Parameters
token*string
Authentication token. Requires scope: usergroups:write
Content-Type*"application/x-www-form-urlencoded"
Value in
- "application/x-www-form-urlencoded"
Request Body
application/x-www-form-urlencoded
include_count?boolean
Include the number of users in the User Group.
usergroup*string
The encoded ID of the User Group to enable.
Response Body
application/json
application/json
curl -X POST "https://example.com/usergroups.enable" \ -H "token: string" \ -H "Content-Type: application/x-www-form-urlencoded" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'usergroup=string'{ "ok": "True", "usergroup": { "auto_provision": true, "auto_type": null, "channel_count": 0, "created_by": "string", "date_create": 0, "date_delete": 0, "date_update": 0, "deleted_by": null, "description": "string", "enterprise_subteam_id": "string", "handle": "string", "id": "string", "is_external": true, "is_subteam": true, "is_usergroup": true, "name": "string", "prefs": { "channels": [ "string" ], "groups": [ "string" ] }, "team_id": "string", "updated_by": "string", "user_count": 0, "users": [ "string" ] }}
