provider Teams PATCH /api/v2/team/{team_id}/memberships/{user_id}
@utdk/datadog /api/v2/team/{team_id}/memberships/{user_id}
Update a user's membership attributes on a team
Update a user's membership attributes on a team. **Note**: Each team has a setting that determines who is allowed to modify membership of the team. The `user_access_manage` permission generally grants access to modify membership of any team. To get the full picture, see [Team Membership documentation](https://docs.datadoghq.com/account_management/teams/manage/#team-membership).
team_id path required
None
string
user_id path required
None
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.

updateteammembership
PATCH/api/v2/team/{team_id}/memberships/{user_id}
Update a user's membership attributes on a team. **Note**: Each team has a setting that determines who is allowed to modify membership of the team. The `user_access_manage` permission generally grants access to modify membership of any team. To get the full picture, see [Team Membership documentation](https://docs.datadoghq.com/account_management/teams/manage/#team-membership).

Parameters

required

None

required

None

Input

required

A user's relationship with a team

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.updateteammembership()