Skip to main content
PUT
/
v2
/
tickets
/
{id}
Update Ticket
curl --request PUT \
  --url https://public.api.serval.com/v2/tickets/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "statusId": "<string>",
  "priorityId": "<string>",
  "assignedToUserId": "<string>",
  "labelIds": [
    "<string>"
  ],
  "slaStartedAt": "2023-11-07T05:31:56Z",
  "slaBreachesAt": "2023-11-07T05:31:56Z",
  "escalationLevel": "AI",
  "requesterUserId": "<string>",
  "dueDate": {
    "year": 123,
    "month": 123,
    "day": 123
  }
}
'
{
  "data": {
    "id": "<string>",
    "friendlyIdentifier": "<string>",
    "teamId": "<string>",
    "name": "<string>",
    "description": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "completedAt": "2023-11-07T05:31:56Z",
    "escalatedAt": "2023-11-07T05:31:56Z",
    "createdByUserId": "<string>",
    "assignedToUserId": "<string>",
    "requesterUserId": "<string>",
    "statusId": "<string>",
    "escalationLevel": "AI",
    "priorityId": "<string>",
    "slaStartedAt": "2023-11-07T05:31:56Z",
    "slaBreachesAt": "2023-11-07T05:31:56Z",
    "labelIds": [
      "<string>"
    ],
    "type": "TICKET_TYPE_UNSPECIFIED",
    "dueDate": {
      "year": 123,
      "month": 123,
      "day": 123
    },
    "isOverdue": true,
    "childTicketIds": [
      "<string>"
    ],
    "linkedTicketIds": [
      "<string>"
    ],
    "duplicateTicketIds": [
      "<string>"
    ],
    "dependsOnTicketIds": [
      "<string>"
    ],
    "parentTicketId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json
name
string | null
description
string | null
statusId
string | null
priorityId
string | null
assignedToUserId
string | null
labelIds
string[]
slaStartedAt
string<date-time> | null

A timestamp in RFC 3339 format (e.g., "2017-01-15T01:30:15.01Z").

slaBreachesAt
string<date-time> | null

A timestamp in RFC 3339 format (e.g., "2017-01-15T01:30:15.01Z").

escalationLevel
enum<string> | null
Available options:
AI,
HUMAN
requesterUserId
string | null
dueDate
due_date · object

Optional. Due date (date only, no time component). Set to a date to update the due date. Set to an empty/zero date (year=0, month=0, day=0) to clear the due date.

Response

Success

data
data · object