I want to change the status of component when the incident is issued using API.
When I entered below curl command, as I think the incident is issued with mapping component.
but It is not changed the status of component.
I think Perhaps something is wrong with 「-d "incident[${component_id}]=major_outage"」
curl https://api.statuspage.io/v1/pages/${page_id}/incidents \
-H "Authorization: ${API_KEY}" \
-X POST \
-d "incident[name]=string" \
-d "incident[status]=string" \
-d "incident[body]=string"
-d "incident[component_ids]=${component_id}" \
-d "incident[${component_id}]=major_outage"Appreciate any assistance