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 requests
url = "https://api.boldsign.com/v1/teams/update"
payload = "{\n  \"teamId\": \"8b637de3-27db-4603-a7d7-6a4fdd0124b8\",\n  \"teamName\": \"Sales\"\n}"
headers = {
  'accept': '*/*',
  'X-API-KEY': '<API-KEY>',
  'Content-Type': 'application/json;odata.metadata=minimal;odata.streaming=true'
}

response = requests.request("PUT", url, headers=headers, data=payload)
print(response.text)
const axios = require('axios'); 
const response = await axios.put( 
    ' https://api.boldsign.com/v1/teams/update', 
    // '{\n  "teamId": "8b637de3-27db-4603-a7d7-6a4fdd0124b8",\n  "teamName": "Sales"\n}', 
    { 
        '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

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

Example response

200 Success