api.php under the tenant-scoped group.removeTeamLead method does NOT exist in TeamsController.php. This endpoint will return a 500 error (missing method) until the controller method is implemented. The Team model has team_lead_user_id column and a teamLead() relation, suggesting this is intended functionality.curl --location --request DELETE 'https://api-dev.commandroom.ai/api/api/teams/12/remove-team-lead' \
--header 'Authorization: Bearer {{token}}' \
--header 'X-Tenant-UUID: '{
"success": true,
"message": "Success."
}