Create a team

POSThttp://localhost:4000/api/hierarchies/create

Adds a team under an existing team.

Your API key needs the hierarchies.MANAGE permission.

Body Params

namestringrequired

Team name.

parentIdintegerrequired

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.