provider Teams DELETE /api/v2/team/{team_id}/memberships/{user_id}
@utdk/datadog /api/v2/team/{team_id}/memberships/{user_id}
Remove a user from a team
Remove a user from 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.

deleteteammembership
DELETE/api/v2/team/{team_id}/memberships/{user_id}
Remove a user from 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

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