slack_user_bindings
Creates, updates, deletes, gets or lists a slack_user_bindings resource.
Overview
| Name | slack_user_bindings |
| Type | Resource |
| Id | datadog.integrations.slack_user_bindings |
Fields
The following fields are returned by SELECT queries:
- list_slack_user_bindings
| Name | Datatype | Description |
|---|---|---|
id | string | The Slack team ID. (example: T01234567) |
type | string | Slack user binding resource type. (team_id) (default: team_id, example: team_id) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_slack_user_bindings | select | user_uuid | List all Slack user bindings for a given Datadog user from the Datadog Slack integration. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
site | string | The Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both. |
user_uuid | string (uuid) | The UUID of the Datadog user to list Slack bindings for. |
SELECT examples
- list_slack_user_bindings
List all Slack user bindings for a given Datadog user from the Datadog Slack integration.
SELECT
id,
type
FROM datadog.integrations.slack_user_bindings
WHERE user_uuid = '{{ user_uuid }}' -- required
;