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": "d8986ecf-5edb-4bf4-af53-08acf7d68f12",
"type": "incident_event_services",
"attributes": {
"incident_event_id": "6a185ea9-7dcb-40d2-a773-cc576f703e5a",
"service_id": "bb2c93bc-8249-4602-a890-374348226c07",
"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": "d8986ecf-5edb-4bf4-af53-08acf7d68f12",
"type": "incident_event_services",
"attributes": {
"incident_event_id": "6a185ea9-7dcb-40d2-a773-cc576f703e5a",
"service_id": "bb2c93bc-8249-4602-a890-374348226c07",
"status": "partial_outage"
}
}
}