API Reference
Updates an existing event type.
cURL
curl --request PATCH \ --url https://app.gomangrove.com/api/v1/projects/{project_id}/event_types/{event_type_id} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "event_type": { "name": "Updated Biochar Production", "description": "Updated description" } } '
{ "id": 1, "slug": "biochar-production", "name": "Updated Biochar Production", "created_at": "2025-01-15T10:00:00.000Z", "updated_at": "2025-01-15T12:00:00.000Z", "data_point_types": [], "requires_locations": true }
Event type ID
Show child attributes
200