Create Component

POST {{batmanURL}}/v4/statuspages/:statuspageID/components

Add a component to your status page.

Request Body

{"name"=>"example component", "description"=>"description for example component", "allowSubscription"=>true, "groupID"=>"<int> optional", "serviceID"=>"<string> optional"}

RESPONSES

status: OK

{&quot;data&quot;:{&quot;id&quot;:2200,&quot;pageID&quot;:906,&quot;name&quot;:&quot;example component 2&quot;,&quot;description&quot;:&quot;description for example component 2&quot;,&quot;statusID&quot;:0,&quot;underMaintenance&quot;:false,&quot;groupID&quot;:0}}