Industries
Create and update industries with complete curl request examples.
Collection path: events/{event_id}/industries
| Input | Type | POST | PATCH | Notes |
|---|---|---|---|---|
name |
Scalar string | Required by the model | Optional | Event-specific industry name. |
position |
Scalar number or null |
Optional | Optional | Display order. |
POST an industry
curl --request POST \
--url "${BRELLA_API_BASE_URL}/api/core/organizations/${BRELLA_ORGANIZATION_ID}/events/${BRELLA_EVENT_ID}/industries" \
--header "Accept: application/vnd.brella.v4+json" \
--header "Brella-API-Access-Token: ${BRELLA_API_ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
--data-raw '{
"name": "Technology",
"position": 10
}'
The response type is industry. Useful write-response fields are name, position, and updated_at.
PATCH an industry
curl --request PATCH \
--url "${BRELLA_API_BASE_URL}/api/core/organizations/${BRELLA_ORGANIZATION_ID}/events/${BRELLA_EVENT_ID}/industries/71" \
--header "Accept: application/vnd.brella.v4+json" \
--header "Brella-API-Access-Token: ${BRELLA_API_ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
--data-raw '{
"name": "Software and technology",
"position": 5
}'