org_authorized_client_users
Creates, updates, deletes, gets or lists an org_authorized_client_users resource.
Overview
| Name | org_authorized_client_users |
| Type | Resource |
| Id | datadog.organization.org_authorized_client_users |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
delete_org_authorized_client_all_user_authorizations | delete | org_authorized_client_id, user_id | Disable all authorizations for a specific user for the specified OAuth2 client in the current organization. |
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 |
|---|---|---|
org_authorized_client_id | string | The ID of the org authorized client. |
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_id | string | The ID of the user. |
DELETE examples
- delete_org_authorized_client_all_user_authorizations
Disable all authorizations for a specific user for the specified OAuth2 client in the current organization.
DELETE FROM datadog.organization.org_authorized_client_users
WHERE org_authorized_client_id = '{{ org_authorized_client_id }}' --required
AND user_id = '{{ user_id }}' --required
;