Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Resource UUID
Body
application/vnd.api+json
Response
service updated
Update a specific service by id
curl --request PUT \
--url https://api.rootly.com/v1/services/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "services",
"attributes": {
"name": "<string>",
"description": "<string>",
"public_description": "<string>",
"notify_emails": [
"<string>"
],
"color": "<string>",
"position": 123,
"backstage_id": "<string>",
"external_id": "<string>",
"pagerduty_id": "<string>",
"opsgenie_id": "<string>",
"cortex_id": "<string>",
"service_now_ci_sys_id": "<string>",
"github_repository_name": "<string>",
"github_repository_branch": "<string>",
"gitlab_repository_name": "<string>",
"gitlab_repository_branch": "<string>",
"environment_ids": [
"<string>"
],
"service_ids": [
"<string>"
],
"owner_group_ids": [
"<string>"
],
"owner_user_ids": [
123
],
"alerts_email_enabled": true,
"alert_urgency_id": "<string>",
"slack_channels": [
{
"id": "<string>",
"name": "<string>"
}
],
"slack_aliases": [
{
"id": "<string>",
"name": "<string>"
}
],
"alert_broadcast_enabled": true,
"alert_broadcast_channel": {
"id": "<string>",
"name": "<string>"
},
"incident_broadcast_enabled": true,
"incident_broadcast_channel": {
"id": "<string>",
"name": "<string>"
}
}
}
}'{
"data": {
"id": "cbbd98ff-26b9-44a6-b48d-4afc19336d79",
"type": "services",
"attributes": {
"name": "elasticsearch-staging",
"slug": "beatae-voluptatem-nulla-sit",
"description": "Elastisearch",
"public_description": "Public description updated",
"notify_emails": [
"hello@rootly.com",
"world@rootly.com"
],
"color": "#FFF",
"status": "partial_outage",
"position": 2,
"show_uptime": true,
"show_uptime_last_days": 60,
"slack_channels": [
{
"id": "C03MKDSEJE8",
"name": "elastisearch"
}
],
"slack_aliases": [
{
"id": "S03F7QUV7F1",
"name": "leadership"
}
],
"github_repository_name": "rootlyhq/my-another-github-service",
"github_repository_branch": "master",
"gitlab_repository_name": "rootlyhq/my-another-gitlab-service",
"gitlab_repository_branch": "master",
"opsgenie_id": "8743a1b2-11da-480e-8493-744660987bec",
"pagerduty_id": "PQ9K7I9",
"backstage_id": null,
"external_id": "33bfcc62-cc35-46e6-a270-8c52a56fb358",
"cortex_id": null,
"service_now_ci_sys_id": null,
"environment_ids": [
"6c18e1e8-43d2-4236-9eec-42cd1b39fbee"
],
"service_ids": [
"cbbd98ff-26b9-44a6-b48d-4afc19336d79"
],
"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-339df6d40823dfdd92e7d0a8074e4dda@email.rootly.com",
"alert_broadcast_enabled": true,
"alert_broadcast_channel": {
"id": "C999ALERT",
"name": "staging-alerts"
},
"incident_broadcast_enabled": true,
"incident_broadcast_channel": {
"id": "C999INCIDENT",
"name": "staging-incidents"
},
"created_at": "2025-11-06T13:29:44.304-08:00",
"updated_at": "2025-11-06T13:29:54.928-08:00"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Resource UUID
Show child attributes
service updated
Show child attributes
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/services/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "services",
"attributes": {
"name": "<string>",
"description": "<string>",
"public_description": "<string>",
"notify_emails": [
"<string>"
],
"color": "<string>",
"position": 123,
"backstage_id": "<string>",
"external_id": "<string>",
"pagerduty_id": "<string>",
"opsgenie_id": "<string>",
"cortex_id": "<string>",
"service_now_ci_sys_id": "<string>",
"github_repository_name": "<string>",
"github_repository_branch": "<string>",
"gitlab_repository_name": "<string>",
"gitlab_repository_branch": "<string>",
"environment_ids": [
"<string>"
],
"service_ids": [
"<string>"
],
"owner_group_ids": [
"<string>"
],
"owner_user_ids": [
123
],
"alerts_email_enabled": true,
"alert_urgency_id": "<string>",
"slack_channels": [
{
"id": "<string>",
"name": "<string>"
}
],
"slack_aliases": [
{
"id": "<string>",
"name": "<string>"
}
],
"alert_broadcast_enabled": true,
"alert_broadcast_channel": {
"id": "<string>",
"name": "<string>"
},
"incident_broadcast_enabled": true,
"incident_broadcast_channel": {
"id": "<string>",
"name": "<string>"
}
}
}
}'{
"data": {
"id": "cbbd98ff-26b9-44a6-b48d-4afc19336d79",
"type": "services",
"attributes": {
"name": "elasticsearch-staging",
"slug": "beatae-voluptatem-nulla-sit",
"description": "Elastisearch",
"public_description": "Public description updated",
"notify_emails": [
"hello@rootly.com",
"world@rootly.com"
],
"color": "#FFF",
"status": "partial_outage",
"position": 2,
"show_uptime": true,
"show_uptime_last_days": 60,
"slack_channels": [
{
"id": "C03MKDSEJE8",
"name": "elastisearch"
}
],
"slack_aliases": [
{
"id": "S03F7QUV7F1",
"name": "leadership"
}
],
"github_repository_name": "rootlyhq/my-another-github-service",
"github_repository_branch": "master",
"gitlab_repository_name": "rootlyhq/my-another-gitlab-service",
"gitlab_repository_branch": "master",
"opsgenie_id": "8743a1b2-11da-480e-8493-744660987bec",
"pagerduty_id": "PQ9K7I9",
"backstage_id": null,
"external_id": "33bfcc62-cc35-46e6-a270-8c52a56fb358",
"cortex_id": null,
"service_now_ci_sys_id": null,
"environment_ids": [
"6c18e1e8-43d2-4236-9eec-42cd1b39fbee"
],
"service_ids": [
"cbbd98ff-26b9-44a6-b48d-4afc19336d79"
],
"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-339df6d40823dfdd92e7d0a8074e4dda@email.rootly.com",
"alert_broadcast_enabled": true,
"alert_broadcast_channel": {
"id": "C999ALERT",
"name": "staging-alerts"
},
"incident_broadcast_enabled": true,
"incident_broadcast_channel": {
"id": "C999INCIDENT",
"name": "staging-incidents"
},
"created_at": "2025-11-06T13:29:44.304-08:00",
"updated_at": "2025-11-06T13:29:54.928-08:00"
}
}
}