Status pages CLI reference
The statuspages command lets you manage status pages for your accounts.
All statuspages commands require --account-id.
List status pages
Section titled “List status pages”hb statuspages list --account-id 12345Required flags:
--account-id— Account ID
Optional flags:
-o, --output— Output format:tableorjson(default:table)
Get status page details
Section titled “Get status page details”hb statuspages get --account-id 12345 --id 67890Required flags:
--account-id— Account ID--id— Status page ID
Optional flags:
-o, --output— Output format:textorjson(default:text)
Create a status page
Section titled “Create a status page”hb statuspages create --account-id 12345 --cli-input-json '{ "name": "My Status Page", "domain": "status.example.com", "sites": [111, 222], "check_ins": [333], "hide_branding": false}'Required flags:
--account-id— Account ID--cli-input-json— JSON payload (inline string orfile://path)
JSON fields:
name— Status page namedomain— Custom domain for the status pagesites— Array of uptime site IDs to includecheck_ins— Array of check-in IDs to includehide_branding— Whether to hide Honeybadger branding
Optional flags:
-o, --output— Output format:textorjson(default:text)
Update a status page
Section titled “Update a status page”hb statuspages update --account-id 12345 --id 67890 --cli-input-json '{"name": "Updated Name"}'Required flags:
--account-id— Account ID--id— Status page ID--cli-input-json— JSON payload with fields to update
Optional flags:
-o, --output— Output format:textorjson(default:text)
Delete a status page
Section titled “Delete a status page”hb statuspages delete --account-id 12345 --id 67890Required flags:
--account-id— Account ID--id— Status page ID