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
Was this page helpful?