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
}
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
}
Basic authentication using base64 encoded API key and secret. Format: Authorization: Basic <base64(api_key:api_secret)>
General settings
The body is of type object
.
Settings update success
The response is of type object
.
Was this page helpful?