Update a team
put/v1/teams/updateUpdates 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', { '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
teamIdstringRequired | The id of the team for which the name should be updated. |
teamNamestringRequired | The updated name for the team. |
Example response
200 Success