Team Memberships

Remove a member from a team

Remove a member from a team.

If you are using a personal access token, you must have "can manage" permission on the team or be a workspace manager, or be the member being removed.

delete/v1/teams/{team_id}/team_memberships/{team_membership_id}

Request

  • Base URL
    https://api.gitguardian.com
  • URL
    https://api.gitguardian.com/v1/teams/{team_id}/team_memberships/{team_membership_id}
  • Auth
    HTTP bearer

Path parameters

team_idinteger required

The id of the team

team_membership_idinteger required

The id of the team membership

Query parameters

send_emailboolean

Whether to notify the member about the removal from the team.

Response

Team membership was deleted successfully.

Changes

No recorded changes to this operation across all 35 revisions of this API.