provider Roles GET /api/v2/roles/{role_id}
@utdk/datadog /api/v2/roles/{role_id}
Get a role
Get a role in the organization specified by the role’s `role_id`.
role_id path required
The unique identifier of the role.
string

Try it

Authentication
Configure credentials for Datadog API V2 Collection
getrole
GET/api/v2/roles/{role_id}
Get a role in the organization specified by the role’s `role_id`.

Parameters

required

The unique identifier of the role.

Configure credentials above to enable sending.

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

TypeScript

import datadog from '@utdk/datadog';

await datadog.getrole()