Update a team

put/v1/teams/update

Updates the name of the existing team. This is done by specifying the team id.

Code snippet

curl -X 'PUT' \ ' https://api.boldsign.com/v1/teams/update' \ 
     -H 'accept: */*' \ 
     -H 'X-API-KEY: <your API-KEY>' \ 
     -H 'Content-Type: application/json;odata.metadata=minimal;odata.streaming=true' \ 
     -d '{ 
          "teamId": "8b637de3-27db-4603-a7d7-6a4fdd0124b8", 
          "teamName": "Sales" 
}' 
            var apiClient = new ApiClient("https://api.boldsign.com", "API-KEY");

            var teamClient = new TeamClient(apiClient);

            var team = new UpdateTeam()
            {
                TeamName = "Sales",
                TeamId = "8b637de3-27db-4603-a7d7-6a4fdd0124b8"
            };
import boldsign

configuration = boldsign.Configuration(
    api_key = "YOUR_API_KEY"
)

with boldsign.ApiClient(configuration) as api_client:
    
    teams_api = boldsign.TeamsApi(api_client)
    
    team_update_requests = boldsign.TeamUpdateRequest(
        teamId="YOUR_TEAM_ID",
        teamName="Sales"                
    )  
    
    update_team_response = teams_api.update_team(
        team_update_request=team_update_requests
    )
const axios = require('axios'); 
const response = await axios.put( 

    ' https://api.boldsign.com/v1/teams/update', 
    { 
        'teamId': '8b637de3-27db-4603-a7d7-6a4fdd0124b8', 
        'teamName': 'Sales' 
    }, 

    { 
        headers: { 
            'accept': '*/*', 
            'X-API-KEY': '<API-KEY>', 
            'Content-Type': 'application/json;odata.metadata=minimal;odata.streaming=true' 
        } 
    } 
); 

Request body

teamIdstringRequiredThe id of the team for which the name should be updated.
teamNamestringRequiredThe updated name for the team.

Example response

200 Success