Creates a new event service from provided data
curl --request POST \
--url https://api.rootly.com/v1/events/{incident_event_id}/services \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "incident_event_services",
"attributes": {
"incident_event_id": "<string>",
"service_id": "<string>",
"status": "operational"
}
}
}
'{
"data": {
"id": "f216d855-aad4-4206-b76f-85f272e4e128",
"type": "incident_event_services",
"attributes": {
"incident_event_id": "fa64ea37-3102-46c8-ba00-cac8cc9aedac",
"service_id": "3c640564-fc4b-40d6-b284-e80de3aa9f36",
"status": "partial_outage"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
incident_event_service created
Show child attributes
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/events/{incident_event_id}/services \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "incident_event_services",
"attributes": {
"incident_event_id": "<string>",
"service_id": "<string>",
"status": "operational"
}
}
}
'{
"data": {
"id": "f216d855-aad4-4206-b76f-85f272e4e128",
"type": "incident_event_services",
"attributes": {
"incident_event_id": "fa64ea37-3102-46c8-ba00-cac8cc9aedac",
"service_id": "3c640564-fc4b-40d6-b284-e80de3aa9f36",
"status": "partial_outage"
}
}
}