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

Patch a customerportal by id.

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

Path Params

  • Name
    id
    Type
    integer
    required
    Description

Responses

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

CustomerPortalAPIBody
{  "customerportal": {    "bodyColor": "string",    "bodyLinks": "string",    "bodyText": "string",    "button": "string",    "buttonText": "string",    "canCloseTicket": true,    "canEditTags": true,    "canSeeAgent": true,    "canSeeLastRead": true,    "canSeeTags": true,    "canSetPriority": true,    "canSetType": true,    "createdAt": "2024-12-05T12:30:49.490Z",    "createdBy": {      "delete": true,      "id": 0,