Update Status Page By ID

PUT {{batmanURL}}/v4/statuspages/:statuspageID

Update a status page by its id.

Request Body

{"name"=>"example statuspage", "description"=>"new description", "isPublic"=>false, "domainName"=>"example.com", "customDomainName"=>"new.example.com", "logoUrl"=>"my-logo-url", "timezone"=>"Asia/Kolkata", "teamID"=>"<string>", "themeColor"=>{"primary"=>"#111111", "secondary"=>"#111111"}, "contactEmail"=>"info@example.com", "allowComponentsSubscription"=>false, "allowMaintenanceSubscription"=>false, "allowWebhookSubscription"=>false, "components"=>[{"type"=>"component", "name"=>"Example component 1", "allowSubscription"=>true, "description"=>"my first component", "components"=>[{"type"=>"child component", "name"=>"Example component 2", "allowSubscription"=>true, "description"=>"This component is related to example component.", "serviceID"=>"optional-service-id"}]}], "isCustomDomainEnabled"=>false, "hideFromSearchEngines"=>true, "ownerType"=>"user", "ownerID"=>"64a3a5b756f68e303cae1b67"}

RESPONSES

status: OK

{&quot;data&quot;:{&quot;id&quot;:907,&quot;organizationID&quot;:&quot;&quot;,&quot;name&quot;:&quot;example statuspage&quot;,&quot;isPublic&quot;:false,&quot;timezone&quot;:&quot;Asia/Kolkata&quot;,&quot;description&quot;:&quot;new description&quot;,&quot;domainName&quot;:&quot;infra-status&quot;,&quot;customDomainName&quot;:&quot;new.example.com&quot;,&quot;contactEmail&quot;:&quot;info@example.com&quot;,&quot;themeColor&quot;:{&quot;primary&quot;:&quot;#111111&quot;,&quot;secondary&quot;:&quot;#111111&quot;},&quot;allowComponentsSubscription&quot;:false,&quot;allowMaintenanceSubscription&quot;:false,&quot;allowWebhookSubscription&quot;:false,&quot;hideFromSearchEngines&quot;:true,&quot;ownerType&quot;:&quot;user&quot;,&quot;ownerID&quot;:&quot;64a3a5b756f68e303cae1b67&quot;,&quot;teamID&quot;:&quot;6129ac15518568defa92794b&quot;}}