provider Teams GET /api/v2/team
@utdk/datadog /api/v2/team
Get all teams
Get all teams. Can be used to search for teams using the `filter[keyword]` and `filter[me]` query parameters.
page[number] query
Specific page number to return.
integer
page[size] query
Size for a given page. The maximum allowed value is 100.
integer
sort query
Specifies the order of the returned teams
enum: name, -name, user_count, -user_count
include query
Included related resources optionally requested. Allowed enum values: `team_links, user_team_permissions`
array
filter[keyword] query
Search query. Can be team name, team handle, or email of team member
string
filter[me] query
When true, only returns teams the current user belongs to
boolean
fields[team] query
List of fields that need to be fetched.
array

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.

listteams
GET/api/v2/team
Get all teams. Can be used to search for teams using the `filter[keyword]` and `filter[me]` query parameters.

Specific page number to return.

Size for a given page. The maximum allowed value is 100.

Specifies the order of the returned teams

Included related resources optionally requested. Allowed enum values: `team_links, user_team_permissions`

Search query. Can be team name, team handle, or email of team member

When true, only returns teams the current user belongs to

List of fields that need to be fetched.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import datadog from '@utdk/datadog';

await datadog.listteams({
  "page[number]": 0,
  "page[size]": 10
})