PATCH/desk/api/v2/tickets/{id}/restore.json

Restore a deleted ticket by id.

Path Params

  • Name
    id
    Type
    integer
    required
    Description

Body Params

    • Name
      TicketID
      Type
      integer
    • Name
      UpdateTicket
      Type
      object
      Description
      TicketAPIBody is the request/response format for the API
    • Name
      WasScheduled
      Type
      boolean

    Responses

    • Code
      200
      Type
      object
      Schema
      Description
      200 OK
      TicketAPIBody is the request/response format for the API
    • Code
      400
      Type
      object
      Schema
      Description
      400 Bad Request
      Validator hold the validation errors. Typically you shouldn't create this directly but use the New() function.

    Examples

    200 OK

    TicketAPIBody
    {  "delayed": true,  "included": {    "addresses": [      {        "city": "string",        "country": "string",        "firstLine": "string",        "id": 0,        "postalCode": "string",        "secondLine": "string",        "state": "string"      }    ],    "agentsnotified": [      {        "autoFollowOnCC": true,        "avatarURL": "string",