curl -X POST http://localhost:8000/api/v1/projects/saas-platform/environments \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-d '{
"name": "testing",
"environment": "custom",
"git_branch": "testing",
"env_vars": {"NODE_ENV": "test"},
"cli_profiles": [
{"tool": "gh", "account": "test-bot", "status": "connected"}
]
}'