System Configs
Update system configuration
Updates the system configuration settings
PUT
/
api
/
system-configs
Update system configuration
curl --request PUT \
--url https://{baseUrl}/api/v1/api/system-configs \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"logoPath": {}
}
'import requests
url = "https://{baseUrl}/api/v1/api/system-configs"
payload = {
"name": "<string>",
"logoPath": {}
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>', logoPath: {}})
};
fetch('https://{baseUrl}/api/v1/api/system-configs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{baseUrl}/api/v1/api/system-configs"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"logoPath\": {}\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"message": "Success"
}⌘I
Update system configuration
curl --request PUT \
--url https://{baseUrl}/api/v1/api/system-configs \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"logoPath": {}
}
'import requests
url = "https://{baseUrl}/api/v1/api/system-configs"
payload = {
"name": "<string>",
"logoPath": {}
}
headers = {"Content-Type": "application/json"}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>', logoPath: {}})
};
fetch('https://{baseUrl}/api/v1/api/system-configs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{baseUrl}/api/v1/api/system-configs"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"logoPath\": {}\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"message": "Success"
}