PUT/desk/api/v2/apps/:appId/settings/:id.json

Update an app setting

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
    AppSetting represents an app setting
  • 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

AppSetting
{
  "createdAt": "2024-04-18T11:10:29.278Z",
  "createdBy": {
    "delete": true,
    "id": 0,
    "meta": {},
    "type": 0
  },
  "defaultValue": "string",
  "deletedAt": "2024-04-18T11:10:29.278Z",
  "deletedBy": {
    "delete": true,
    "id": 0,
    "meta": {},
    "type": 0
  },
  "displayName": "string",
  "filter_args": {
    "aggregate": {
      "Distinct": true,
      "Field": "string",
      "Operation": "string"
    },
    "bulkDryExecute": true,
    "fields": [
      "string"
    ],
    "filter": [
      "string"
    ],
    "id": 0,
    "ids": [
      0
    ],
    "includes": [
      "string"
    ],
    "orderBy": "string",
    "orderMode": "asc",
    "page": 0,
    "pageOffset": 0,
    "pageSize": 0,
    "skipAggregation": true
  },
  "id": 0,
  "isSecret": true,
  "name": "string",
  "state": "string",
  "type": 0,
  "updatedAt": "2024-04-18T11:10:29.278Z",
  "updatedBy": {
    "delete": true,
    "id": 0,
    "meta": {},
    "type": 0
  },
  "value": "string"
}