provider Users GET
/api/v2/users @utdk/datadog
/api/v2/users List all users
Get the list of all users in the organization. This list includes
all users even if they are deactivated or unverified.
- page[size] query
- Size for a given page. The maximum allowed value is 100.
- integer
- page[number] query
- Specific page number to return.
- integer
- sort query
- User attribute to order results by. Sort order is ascending by default. Sort order is descending if the field is prefixed by a negative sign, for example `sort=-name`. Options: `name`, `modified_at`, `user_count`.
- string
- sort_dir query
- Direction of sort. Options: `asc`, `desc`.
- enum: asc, desc
- filter query
- Filter all users by the given string. Defaults to no filtering.
- string
- filter[status] query
- Filter on status attribute. Comma separated list, with possible values `Active`, `Pending`, and `Disabled`. Defaults to no filtering.
- string
Try it
Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import datadog from '@utdk/datadog';
await datadog.listusers({
"page[size]": 10,
"page[number]": 0,
"sort": "name",
"sort_dir": "desc"
})