PUT
/
api
/
v1
/
settings
/
general
Update General Settings
curl --request PUT \
  --url http://localhost:8080/api/v1/settings/general \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "app.site_name": "Libredesk",
  "app.lang": "en",
  "app.timezone": "Asia/Kolkata",
  "app.business_hours_id": "",
  "app.logo_url": "http://localhost:9000/logo.png",
  "app.root_url": "http://localhost:9000",
  "app.favicon_url": "http://localhost:9000/favicon.ico",
  "app.max_file_upload_size": 20,
  "app.allowed_file_upload_extensions": [
    "*"
  ],
  "app.update": null,
  "app.version": "1.0.0"
}'
{
  "status": "success",
  "data": true
}

Authorizations

Authorization
string
header
required

Basic authentication using base64 encoded API key and secret. Format: Authorization: Basic <base64(api_key:api_secret)>

Body

application/json

General settings

The body is of type object.

Response

200
application/json

Settings update success

The response is of type object.