user_organizations
Creates, updates, deletes, gets or lists a user_organizations
resource.
Overview
Name | user_organizations |
Type | Resource |
Id | datadog.organization.user_organizations |
Fields
The following fields are returned by SELECT
queries:
- list_user_organizations
Name | Datatype | Description |
---|---|---|
id | string | ID of the user. |
attributes | object | Attributes of user object returned by the API. |
relationships | object | Relationships of the user object returned by the API. |
type | string | Users resource type. (default: users, example: users) |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list_user_organizations | select | user_id , region | Get a user organization. Returns the user information and all organizations joined by this user. |
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 |
---|---|---|
region | string | (default: datadoghq.com) |
user_id | string | The ID of the user. |
SELECT
examples
- list_user_organizations
Get a user organization. Returns the user information and all organizations
joined by this user.
SELECT
id,
attributes,
relationships,
type
FROM datadog.organization.user_organizations
WHERE user_id = '{{ user_id }}' -- required
AND region = '{{ region }}' -- required
;