cURL
curl --request POST \ --url https://api.edgee.app/v1/projects/{id}/components \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "component_id": "d290f1ee-6c54-4b01-90e6-d701748f0851", "component_slug": "edgee/google-analytics", "component_version": "1.0.0", "active": true, "settings": {} }'
{ "object": "project_component", "id": "<string>", "component_id": "d290f1ee-6c54-4b01-90e6-d701748f0851", "component_slug": "edgee/google-analytics", "component_version": "1.0.0", "category": "data_collection", "subcategory": "analytics", "active": true, "settings": {} }
Creates a new Component for a project.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token. More info here
Bearer <token>
<token>
A Project Component object represents an integration of a component in a project.
The created Project Component
Was this page helpful?