sort_order position. Optionally specify a parent_id to create a sub-team under an existing team.data field accepts arbitrary JSON for extensible team metadata. New teams are created with is_active: true.curl --location 'https://api-dev.commandroom.ai/api/api/teams' \
--header 'Authorization: Bearer {{token}}' \
--header 'X-Tenant-UUID: ' \
--header 'Content-Type: application/json' \
--data '{
"name": "Sample Name",
"description": "Sample description text.",
"parent_id": 1,
"data": {}
}'{
"success": true,
"data": {
"id": 1,
"name": "Sample Name",
"description": "Sample description text.",
"level": 1,
"parent_id": 1,
"is_active": true,
"sort_order": 1,
"data": {},
"tasks_count": 10,
"has_children": true,
"children": [
{}
]
}
}