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