Delete a specific service by id
curl --request DELETE \
--url https://api.rootly.com/v1/services/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "9c3fcd64-4292-4413-bc68-2dd8e62a0dad",
"type": "services",
"attributes": {
"name": "Non natus aliquam quia.",
"slug": "non-natus-aliquam-quia",
"description": "Deserunt exercitationem ea voluptas.",
"public_description": null,
"notify_emails": [],
"color": "#047BF8",
"status": "partial_outage",
"position": 1,
"show_uptime": true,
"show_uptime_last_days": 60,
"slack_channels": [],
"slack_aliases": [],
"github_repository_name": null,
"github_repository_branch": "master",
"gitlab_repository_name": null,
"gitlab_repository_branch": "master",
"kubernetes_deployment_name": null,
"opsgenie_id": null,
"pagerduty_id": null,
"backstage_id": null,
"external_id": null,
"cortex_id": null,
"service_now_ci_sys_id": null,
"environment_ids": [],
"service_ids": [],
"owner_group_ids": [],
"owners_group_ids": [],
"owner_user_ids": [],
"owners_user_ids": [],
"incidents_count": 1,
"alert_urgency_id": null,
"alerts_email_enabled": false,
"alerts_email_address": "[email protected]",
"alert_broadcast_enabled": false,
"alert_broadcast_channel": {},
"incident_broadcast_enabled": false,
"incident_broadcast_channel": {},
"created_at": "2025-12-22T14:57:13.356-08:00",
"updated_at": "2025-12-22T14:57:20.211-08:00",
"escalation_policy_id": null
}
}
}Was this page helpful?
curl --request DELETE \
--url https://api.rootly.com/v1/services/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "9c3fcd64-4292-4413-bc68-2dd8e62a0dad",
"type": "services",
"attributes": {
"name": "Non natus aliquam quia.",
"slug": "non-natus-aliquam-quia",
"description": "Deserunt exercitationem ea voluptas.",
"public_description": null,
"notify_emails": [],
"color": "#047BF8",
"status": "partial_outage",
"position": 1,
"show_uptime": true,
"show_uptime_last_days": 60,
"slack_channels": [],
"slack_aliases": [],
"github_repository_name": null,
"github_repository_branch": "master",
"gitlab_repository_name": null,
"gitlab_repository_branch": "master",
"kubernetes_deployment_name": null,
"opsgenie_id": null,
"pagerduty_id": null,
"backstage_id": null,
"external_id": null,
"cortex_id": null,
"service_now_ci_sys_id": null,
"environment_ids": [],
"service_ids": [],
"owner_group_ids": [],
"owners_group_ids": [],
"owner_user_ids": [],
"owners_user_ids": [],
"incidents_count": 1,
"alert_urgency_id": null,
"alerts_email_enabled": false,
"alerts_email_address": "[email protected]",
"alert_broadcast_enabled": false,
"alert_broadcast_channel": {},
"incident_broadcast_enabled": false,
"incident_broadcast_channel": {},
"created_at": "2025-12-22T14:57:13.356-08:00",
"updated_at": "2025-12-22T14:57:20.211-08:00",
"escalation_policy_id": null
}
}
}