> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update User Group

Update an existing User Group.

<Note>
  External Documentation

  To learn more, visit the [Slack documentation](https://api.slack.com/methods/usergroups.update).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter      | Description                                                                                 |
  | -------------- | ------------------------------------------------------------------------------------------- |
  | Channels       | A comma separated string of encoded channel IDs for which the User Group uses as a default. |
  | Description    | A short description of the User Group.                                                      |
  | Include Count  | Include the number of users in the User Group.                                              |
  | Mention Handle | A mention handle. Must be unique among channels and users.                                  |
  | Name           | A name for the User Group. Must be unique among User Groups.                                |
  | User Group ID  | The encoded ID of the User Group to update.                                                 |
</div>

## Example Output

```json theme={"dark"}
{
	"ok": true,
	"usergroup": {
		"created_by": "U060R4BJ4",
		"date_create": 1447096577,
		"date_delete": 0,
		"date_update": 1447102109,
		"description": "Marketing gurus, PR experts and product advocates.",
		"handle": "marketing-team",
		"id": "S0616NG6M",
		"is_external": false,
		"is_usergroup": true,
		"name": "Marketing Team",
		"prefs": {
			"channels": [],
			"groups": []
		},
		"team_id": "T060R4BHN",
		"updated_by": "U060R4BJ4",
		"user_count": 1,
		"users": [
			"U060R4BJ4",
			"U060RNRCZ"
		]
	}
}
```

## Workflow Library Example

[Update User Group with Slack and Send Results Via Email](https://library.blinkops.com/workflows/update-user-group-with-slack-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/update-user-group-with-slack-and-send-results-via-email/canvas" />
</div>
