lib/deploygate/client/organizations.rb
def add_team_member(org_name:, team_name:, user_name:)
        endpoint = "/api/organizations/#{org_name}/teams/#{team_name}/users"
        res = api.post endpoint do |request|
          request.params[:user] = user_name
        end
        Response.new(res)
      end
# Add members to the team.
# @see https://docs.deploygate.com/reference#organizations-teams-users-create
#
# @param org_name [String] Organization name
# @param team_name [String] Team name
# @param user_name [String] User name
# @return [Deploygate::Client::Response]
Add members to the team.
Add members to the team .
def add_team_member(org_name:, team_name:, user_name:)
        endpoint = "/api/organizations/#{org_name}/teams/#{team_name}/users"
        res = api.post endpoint do |request|
          request.params[:user] = user_name
        end
        Response.new(res)
      end
def add_team_member ( org_name : , team_name : , user_name : ) endpoint = "/api/organizations/#{org_name}/teams/#{team_name}/users" res = api . post endpoint do | request | request . params [ :user ] = user_name end Response . new ( res ) end
Add members to the team.
Add members to the team .
None
Deploygate::Client::Response
org_name
None
team_name
None
user_name
None
see
None