Update a team

POSThttp://localhost:4000/api/hierarchies/update

Changes a team. Send only the fields you want to change.

Your API key needs the hierarchies.MANAGE permission.

Body Params

idintegerrequired

ID of the team.

namestring

Team name.

parentIdinteger

ID of the parent team.

dataScopeIdinteger

ID of the team whose data this team can see.

Responses

200Successful response.
400The request is not valid.
401The API key is missing, invalid, expired or disabled.
403The API key does not have the permission this endpoint needs.