Remove a component from a status page
remove_status_page_componentUse this when the user wants a site, check or group heading taken off one of their public status pages. A site goes with its own content, dependency and cron rows, wherever they are placed. A group goes alone and its items move to the top level where it was, unless group_contents is remove, which takes everything in it off the page too. The sites and checks themselves stay monitored. Returns what was removed and the page's components after. Not for deleting a site, a check or the page itself, which is done in the dashboard.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| component | Yes | The component's id or name, as get_status_page lists them. | |
| status_page | Yes | The page's id, name or address. | |
| group_contents | No | For a group only. keep (the default): only the group goes, and its items stay on the page at the top level where it was. remove: everything in the group comes off the page too, each item as removing it alone would (a site with its check rows). |