Update Incident
Update an existing incident
/api/v1/incidents/Authentication
Syllable-API-KeyrequiredSend Syllable-API-Key in the header.
Need a credential? Create or manage an API token in the Syllable Console.
Parameters
This endpoint has no declared parameters.
Request body
application/json
body
IncidentUpdateRequest
required
10 fields
descriptionstringrequiredDescription of the service incident
start_datetimestring (date-time)requiredStart time of the incident
resolution_datetimestring (date-time)requiredResolution time of the incident
impact_categorystringrequiredCategory of the impact
sessions_impactedintegerrequiredNumber of sessions impacted
markdownstringrequiredDetailed markdown description of the incident
organization_idinteger | nulloptionalThe ID of the organization
sub_organization_idinteger | nulloptionalThe ID of the sub-organization
sub_organizationstring | nulloptionalThe name of the sub-organization (DEPRECATED)
idintegerrequiredThe ID of the incident to update
Request example
{
"description": "string",
"start_datetime": "string",
"resolution_datetime": "string",
"impact_category": "string",
"sessions_impacted": 0,
"markdown": "string",
"organization_id": "string",
"sub_organization_id": "string",
"sub_organization": "string",
"id": 0
}Responses
200Successful Response
application/json
response
IncidentResponse
required
13 fields
descriptionstringrequiredDescription of the service incident
start_datetimestring (date-time)requiredStart time of the incident
resolution_datetimestring (date-time)requiredResolution time of the incident
impact_categorystringrequiredCategory of the impact
sessions_impactedintegerrequiredNumber of sessions impacted
markdownstringrequiredDetailed markdown description of the incident
organization_idinteger | nulloptionalThe ID of the organization
sub_organization_idinteger | nulloptionalThe ID of the sub-organization
sub_organizationstring | nulloptionalThe name of the sub-organization (DEPRECATED)
idintegerrequiredThe ID of the incident to update
created_atstring (date-time) | nulloptionalCreation time of the incident
updated_atstring (date-time) | nulloptionalLast update time of the incident
last_updated_bystring | nullrequiredThe email of the user who last updated the incident
Response example
{
"description": "string",
"start_datetime": "string",
"resolution_datetime": "string",
"impact_category": "string",
"sessions_impacted": 0,
"markdown": "string",
"organization_id": "string",
"sub_organization_id": "string",
"sub_organization": "string",
"id": 0,
"created_at": "string",
"updated_at": "string",
"last_updated_by": "string"
}422Validation Error
application/json
response
HTTPValidationError
required
1 field
detailValidationError[]optionalItem schema
itemsValidationErrorrequired3 fields
locstring | integer[]requiredItem schema
itemsstring | integerrequired2 options
Option 1stringrequiredOption 2integerrequiredmsgstringrequiredtypestringrequiredResponse example
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}
