cURL
curl --request PATCH \ --url https://api.attention.tech/v2/organizations/teams/{teamId} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Marketing", "parentTeamUUID": "2ccf9bde-68e3-4de4-bc4e-51b927336665" } '
{ "data": { "name": "Marketing", "uuid": "25fd70be-4d15-4b95-9931-69a320ceef76" } }
Updates an existing team’s information. You can modify the team’s name and parent team assignment. This operation can be used to restructure the team hierarchy within the organization.
UUID of the team to update
The updated team information
Team successfully updated
Represents a team in the system with its properties and hierarchical structure
Show child attributes
Unique identifier of the team
"fe515723-fe2e-4959-a5fa-c4d3937fe7e4"
Name of the team
"Engineering"
List of keywords or phrases associated with the team
["engineering", "tech", "development"]
Represents the Slack integration details for a team
Slack connection identifier
"T1234567890"
Information about a connected Slack team
Slack team identifier
Name of the Slack team
"Attention Tech"
Domain associated with the team
"attention.tech"
Whether team organizers can join internal meetings
true
Whether email consent is enabled for the team
UUID of the parent team if this team is part of a hierarchy
"2ccf9bde-68e3-4de4-bc4e-51b927336665"
UUID of the organization this team belongs to
"16b78cec-82ef-46d2-8213-5d3bb7d2571c"
List of child teams if this team has a hierarchical structure
Was this page helpful?