## Bug description

Since users can now be part of multiple projects, the `get_team_from_token` function used in capture and decide endpoints cannot work reliably with personal API keys. These endpoints should be e.g. nested under `/api/projects/:project_id` _or_ should accept `project_id` in request body.

#### *Thank you* for your bug report – we love squashing them!

posthog/api/test/test_personal_api_keys.py
key = PersonalAPIKey(label="Test", team=self.team, user=self.user)
        key.save()
        self.assertEqual(len(PersonalAPIKey.objects.all()), 1)
        response = self.client.delete(f"/api/personal_api_keys/{key.id}/")
        self.assertEqual(response.status_code, 204)
        self.assertEqual(len(PersonalAPIKey.objects.all()), 0)
    def test_list_only_user_personal_api_keys(self):
        my_label = "Test"
        my_key = PersonalAPIKey(label=my_label, team=self.team, user=self.user)
        my_key.save()
        other_user = self._create_user("abc@def.xyz")
        other_key = PersonalAPIKey(label="Other test", team=self.team, user=other_user)
        other_key.save()
        self.assertEqual(len(PersonalAPIKey.objects.all()), 2)
        response = self.client.get("/api/personal_api_keys")
        self.assertEqual(response.status_code, 200)
        response_data = response.json()
        self.assertEqual(len(response_data), 1)
        response_data[0].pop("created_at")
        self.assertDictEqual(
            response_data[0],
            {
                "id": my_key.id,
                "label": my_label,
                "last_used_at": None,
                "user_id": self.user.id,
                "team_id": self.team.id,
            },
        )
    def test_get_own_personal_api_key(self):