Delete a specific service by id
curl --request DELETE \
--url https://api.rootly.com/v1/services/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "9a02622f-c543-4d2c-91b6-08af50a8cb31",
"type": "services",
"attributes": {
"name": "Rerum debitis consectetur quae.",
"slug": "rerum-debitis-consectetur-quae",
"description": "Voluptate hic nobis sit.",
"public_description": null,
"notify_emails": [],
"color": "#D7F5E1",
"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",
"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": "service-7f107e5bc93e72d08b2b66b98181d2ef@email.rootly.com",
"alert_broadcast_enabled": false,
"alert_broadcast_channel": {},
"incident_broadcast_enabled": false,
"incident_broadcast_channel": {},
"created_at": "2025-08-21T17:53:11.032-07:00",
"updated_at": "2025-08-21T17:53:22.673-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Resource UUID
service deleted
The response is of type object
.
Was this page helpful?
curl --request DELETE \
--url https://api.rootly.com/v1/services/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "9a02622f-c543-4d2c-91b6-08af50a8cb31",
"type": "services",
"attributes": {
"name": "Rerum debitis consectetur quae.",
"slug": "rerum-debitis-consectetur-quae",
"description": "Voluptate hic nobis sit.",
"public_description": null,
"notify_emails": [],
"color": "#D7F5E1",
"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",
"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": "service-7f107e5bc93e72d08b2b66b98181d2ef@email.rootly.com",
"alert_broadcast_enabled": false,
"alert_broadcast_channel": {},
"incident_broadcast_enabled": false,
"incident_broadcast_channel": {},
"created_at": "2025-08-21T17:53:11.032-07:00",
"updated_at": "2025-08-21T17:53:22.673-07:00"
}
}
}