---
updatedAt: 2026-10-13T14:48:34.000Z
agentTools:
  projectIndex: https://docs.axonius.com/llms.txt
---

# Slack - Update Group

**Slack - Update group** updates a group in Slack for:

* Assets returned by the selected query or assets selected on the relevant asset page.

See [Creating Enforcement Sets](https://docs.axonius.com/axonius-help-docs/docs/create-ec-set) to learn more about adding Enforcement Actions to Enforcement Sets.

<Accordion title="When accessing an enforcement action using the API, you must use the backend form of field names. " icon="fa-info-circle">
  Use the [Syntax Helper](https://docs.axonius.com/axonius-help-docs/docs/using-the-syntax-helper) to find the correct name. In the enforcement action, enable **Configure Dynamic Values** and select **Syntax Helper**.


  <Image src="https://raw.githubusercontent.com/Axonius/ax-docs-pub/refs/heads/main/img/action_center/SyntaxHelperForAPIECs.png" width="550px" />

</Accordion>

<Callout icon="far fa-circle-info" theme="info">
  ### Note

  - Not all asset types are supported for all Enforcement Actions.
  - See Actions supported for [Activity Logs, Adapters Fetch History, and Asset Investigation modules](https://docs.axonius.com/axonius-help-docs/docs/creating-queries-filters#using-activity-log-adapter-fetch-history-asset-investigation-and-findings-queries-in-enforcement-actions).
  - See Actions supported for [Aggregated Security Findings](https://docs.axonius.com/docs/vulnerabilities#using-aggregated-security-findings-queries-in-enforcement-actions).
  - See Actions supported for [Software](software#using-software-queries-in-enforcement-actions).
</Callout>

## General Settings

* **Action name** - The name of this Enforcement Action. The system sets a default name. You can change the name.

* **Configure Dynamic Values** *(optional)* - Toggle on to enter a Dynamic Value statement. See [Creating Enforcement Action Dynamic Value Statements](https://docs.axonius.com/docs/config-ec-conditions) to learn more about Dynamic Value statement syntax.

* **Use stored credentials from Slack Adapter** - Select this option to use credentials from the adapter connection. By default, the first connection is selected.

  * When you select this option, the **Select Adapter Connection** drop-down becomes available. Select the adapter connection to use for this Enforcement Action.

  This enforcement action follows a three-tier credential resolution logic:

  * **When enabled** - Uses the stored credentials from the selected adapter connection.
  * **When disabled and no credentials inserted** - Uses the leading asset client credentials.
  * **When disabled and credentials inserted** - Uses only the manually inserted credentials.

<Callout icon="far fa-circle-info" theme="info">
  Note

  To use this option, you must successfully configure a [Slack](https://docs.axonius.com/axonius-help-docs/docs/slack) adapter connection.
</Callout>

## Required Fields

These fields must be configured to run the Enforcement Action.

* **Compute Node**  - The Axonius node to use when connecting to the specified host. For more details, see [Working with Axonius Compute Nodes](https://docs.axonius.com/docs/connecting-additional-axonius-nodes). <br />

## Additional Fields

These fields are optional.

* **Group Name** - The name of the group you are creating.

* **Channel IDs (comma separated)** - The IDs for the Slack channels that the group uses a default.

* **Description** - Description for the group you are creating.

* **Enable Section** - Select this option to configure this user group to show as a sidebar section in Slack for all group members. This is only relevant if the group has one or more default channels.

* **Handle** - A mention handle for the group. The handle you enter must be unique among channels, users, and user groups.

* **Include Count** - Select this option to include the number of users in the user group.

* **Team ID** - The Team ID for the group. This is required if an org token is used.

<Callout icon="💡" theme="warn">
  ## Connection and Credentials

When **Use stored credentials from the adapter** is toggled off, some of the connection fields below are required to create the connection, while other fields are optional.

  * **Host Name or IP Address** _(default: `https://slack.com`)_ - The full URL of the Slack server.

  * **Authentication Token** _(required)_ - An Authentication Token associated with a user account that has the [Required Permissions](https://docs.axonius.com/axonius-help-docs/docs/slack#required-permissions) to fetch assets. For instructions on generating the Authentication Token, see [admin.users.list](https://api.slack.com/methods/admin.users.list).

  * **Authentication Sub Domain** - The Slack account's sub domain (.slack.com).

  * **User Name** and **Password** - The credentials for a user account that has the [Required Permissions](https://docs.axonius.com/axonius-help-docs/docs/slack#required-permissions) to perform this Enforcement Action.

  * **MFA Secret** - The MFA Secret Key configured for the [Slack](https://docs.axonius.com/axonius-help-docs/docs/slack) adapter.

  * **Enterprise Grid Organization** - Select if you are using the Slack Enterprise Grid Organization solution. This allows Axonius to fetch data from all workspaces associated with the authentication token.

  * **Verify SS&#x4C;_&#x20;(Optional)_**_&#x20;(default: enabled)&#x20;_- Selects whether to verify the SSL certificate of the server against the CA database inside of Axonius.  For more details, see [SSL Trust & CA Settings](https://docs.axonius.com/axonius-help-docs/docs/certificate-settings#ssl-trust-ca-settings). This setting is enabled by default on all new adapter settings. If you need to disable SSL verification, make sure you disable this setting._)_&#x20;

  * **HTTPS Proxy** *(optional)* - Connect the adapter to a proxy instead of directly connecting it to the domain.

  * **Gateway Name** -  Select the Gateway through which to connect to perform the action.
    <br />
</Callout>

## APIs

Axonius uses the [Slack Update a User Group](https://api.slack.com/methods/usergroups.update) API.

## Required Permissions

The stored credentials, or those provided in Connection and Credentials, must have have the  following permissions:

* write
* edit
* admin

***

For more details about other enforcement actions available, see [Action Library](https://docs.axonius.com/axonius-help-docs/docs/action-library).