Skip to main content
PATCH
/
api
/
incidents
/
v1
/
{incident_id}
/
rename
RenameIncident
curl --request PATCH \
  --url https://developer.synq.io/api/incidents/v1/{incident_id}/rename \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "actor": {
    "name": "<string>",
    "email": {
      "userEmail": "[email protected]"
    }
  },
  "at": "2023-11-07T05:31:56Z",
  "name": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

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

Path Parameters

incident_id
string<uuid>
required

ID of the incident to rename

Body

application/json
actor
Actor · object
required

Actor renaming the incident

at
string<date-time>
required

Time at which the incident was renamed. Defaults to the current time. timestamp.gt = 2022-01-01T00:00:00Z timestamp.gt_lt = 2022-01-01T00:00:00Z timestamp.gt_lt_exclusive = 2022-01-01T00:00:00Z timestamp.gt_lte = 2022-01-01T00:00:00Z timestamp.gt_lte_exclusive = 2022-01-01T00:00:00Z timestamp.lt_now = true

name
string
required

New name for the incident

Response

200 - application/json

Success

The response is of type RenameIncidentResponse · object.