PATCH/desk/api/v2/inboxes/{id}.json

Update a inbox.

Update all the given properties for this resource. Any omitted properties will be unchanged.

Path Params

  • Name
    id
    Type
    integer
    required
    Description

Body Params

InboxAPIBody handles the get/create/update request/response for inbox.

    • Name
      customDKIM
      Type
      string
    • Name
      inbox
      Type
      object
      Description
      Inbox represents a Inbox.
    • Name
      included
      Type
      object
      Description
      Included allows adding referenced objects on the API response. The included keys should map to the `types` in the Relationship slices/objects.
    • Name
      ticketcounts
      Type
      dictionary[string, object]

    Responses

    • Code
      200
      Type
      object
      Schema
      Description
      200 OK
      InboxAPIBody handles the get/create/update request/response for inbox.
    • 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

    InboxAPIBody
    {  "customDKIM": "string",  "inbox": {    "autoReplyEnabled": true,    "autoReplyFromUserId": 0,    "autoReplyMessage": "string",    "autoReplySubject": "string",    "createdAt": "2024-07-26T20:26:26.553Z",    "createdBy": {      "delete": true,      "id": 0,      "meta": {},      "type": 0    },    "deletedAt": "2024-07-26T20:26:26.553Z",    "deletedBy": {      "delete": true,      "id": 0,