PATCH
/
organizations
/
teams
/
{teamId}
curl --request PATCH \
  --url http://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"
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

teamId
string
required

UUID of the team to update

Body

The updated team information

The body is of type object.

Response

200
application/json

Team successfully updated

The response is of type object.