PUT
/
incidents
/
{incident}
/
updates
/
{update}
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>"
}'
{
  "data": {
    "id": "<string>",
    "type": "updates",
    "attributes": {
      "id": "<string>",
      "updateable_id": "<string>",
      "updateable_type": "<string>",
      "message": "<string>",
      "status": {
        "human": "<string>",
        "value": "<string>"
      },
      "created": {
        "human": "<string>",
        "string": "<string>"
      },
      "updated": {
        "human": "<string>",
        "string": "<string>"
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

incident
integer
required

The incident ID

update
integer
required

The update ID

Body

application/json
`EditIncidentUpdateRequestData`
status
enum<integer> | null
Available options:
0,
1,
2,
3,
4
message
string | null

Response

200
application/json
`Update`
data
object
required