Skip to main content

slack_user_bindings

Creates, updates, deletes, gets or lists a slack_user_bindings resource.

Overview

Nameslack_user_bindings
TypeResource
Iddatadog.integrations.slack_user_bindings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe Slack team ID. (example: T01234567)
typestringSlack user binding resource type. (team_id) (default: team_id, example: team_id)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_slack_user_bindingsselectuser_uuidList 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.

NameDatatypeDescription
sitestringThe 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_uuidstring (uuid)The UUID of the Datadog user to list Slack bindings for.

SELECT examples

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
;