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": "718187af-9519-441d-bbc4-66b1be397cdd",
"type": "incident_event_services",
"attributes": {
"incident_event_id": "dab9f0c2-5b6d-4681-a37d-764efd7ec8f0",
"service_id": "aaf53a49-eb42-46de-a709-7a3f6e915c78",
"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": "718187af-9519-441d-bbc4-66b1be397cdd",
"type": "incident_event_services",
"attributes": {
"incident_event_id": "dab9f0c2-5b6d-4681-a37d-764efd7ec8f0",
"service_id": "aaf53a49-eb42-46de-a709-7a3f6e915c78",
"status": "partial_outage"
}
}
}