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"                
    )  
    
    teams_api.update_team(team_update_request=team_update_requests)
<?php require_once "vendor/autoload.php";

$config = new BoldSign\Configuration();
$config->setApiKey('YOUR_API_KEY');

$teams_api = new BoldSign\Api\TeamsApi($config);
$update_team = new \BoldSign\Model\TeamUpdateRequest();
$update_team->setTeamName('Sales');
$update_team->setTeamId('YOUR_TEAM_ID');

$teams_api->updateTeam($update_team);
ApiClient client = Configuration.getDefaultApiClient();  
client.setApiKey("YOUR_API_KEY");
           
TeamsApi teamsApi = new TeamsApi(client);
TeamUpdateRequest teamUpdateRequest = new TeamUpdateRequest();
teamUpdateRequest.setTeamId("YOUR_TEAM_ID"); 
teamUpdateRequest.setTeamName("Sales");

teamsApi.updateTeam(teamUpdateRequest); 
import {  TeamsApi, TeamUpdateRequest } from "@boldsign/node-sdk";

const teamsApi = new TeamsApi();
teamsApi.setApiKey("YOUR_API_KEY");

const teamUpdateRequest = new TeamUpdateRequest();
teamUpdateRequest.teamId = "YOUR_TEAM_ID";
teamUpdateRequest.teamName = "Sales";

teamsApi.updateTeam(teamUpdateRequest);

Request body

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

Example response

200 Success