Skip to main content

identity_provider_users

Creates, updates, deletes, gets or lists an identity_provider_users resource.

Overview

Nameidentity_provider_users
TypeResource
Iddatadog.organization.identity_provider_users

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringID of the user.
attributesobjectAttributes of user object returned by the API.
relationshipsobjectRelationships of the user object returned by the API.
typestringUsers resource type. (users) (default: users, example: users)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_identity_provider_usersselectidp_idpage[size], page[number], sort, sort_dir, filter, filter[status]Get all users in the organization whose login method has been overridden<br />to use the specified identity provider.

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
idp_idstringThe ID of the identity provider.
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.
filterstringFilter users by the given string. Defaults to no filtering.
filter[status]stringFilter on status attribute. Comma-separated list, with possible values Active, Pending, and Disabled. Defaults to no filtering.
page[number]integer (int64)Specific page number to return.
page[size]integer (int64)Number of items to return per page. The maximum allowed value is 100.
sortstringUser attribute to order results by. Options include email and name.
sort_dirstringDirection of sort. Options: asc, desc.

SELECT examples

Get all users in the organization whose login method has been overridden<br />to use the specified identity provider.

SELECT
id,
attributes,
relationships,
type
FROM datadog.organization.identity_provider_users
WHERE idp_id = '{{ idp_id }}' -- required
AND page[size] = '{{ page[size] }}'
AND page[number] = '{{ page[number] }}'
AND sort = '{{ sort }}'
AND sort_dir = '{{ sort_dir }}'
AND filter = '{{ filter }}'
AND filter[status] = '{{ filter[status] }}'
;