API Documentation
Components
Component Groups
Incident Updates
Incident Templates
Incident Updates
Update Incident Update
PUT
/
incidents
/
{incident}
/
updates
/
{update}
Copy
Ask AI
curl --request PUT \
--url http://localhost/api/incidents/{incident}/updates/{update} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"status": 0,
"message": "<string>"
}'
Copy
Ask AI
{
"data": {
"id": "<string>",
"type": "updates",
"attributes": {
"id": 123,
"updateable_id": 123,
"updateable_type": "<string>",
"message": "<string>",
"status": {
"human": "<string>",
"value": "<string>"
},
"created": {
"human": "<string>",
"string": "<string>"
},
"updated": {
"human": "<string>",
"string": "<string>"
}
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
EditIncidentUpdateRequestData
The body is of type object
.
Response
200
application/json
Update
The response is of type object
.
Copy
Ask AI
curl --request PUT \
--url http://localhost/api/incidents/{incident}/updates/{update} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"status": 0,
"message": "<string>"
}'
Copy
Ask AI
{
"data": {
"id": "<string>",
"type": "updates",
"attributes": {
"id": 123,
"updateable_id": 123,
"updateable_type": "<string>",
"message": "<string>",
"status": {
"human": "<string>",
"value": "<string>"
},
"created": {
"human": "<string>",
"string": "<string>"
},
"updated": {
"human": "<string>",
"string": "<string>"
}
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.