Update admin settings
curl --request PATCH \
--url http://localhost:3000/api/settings/ \
--header 'Content-Type: application/json' \
--cookie token= \
--data '
{
"features": {
"oauth2_enabled": true,
"local_users_enabled": true,
"self_service_onboarding": true,
"multi_cluster_mode": true,
"backup_auto_schedule": true,
"metrics_collection": true,
"api_docs_enabled": true
},
"oauth": {
"allowed_domains": [
"<string>"
],
"role_attribute_path": "<string>",
"role_attribute_strict": true
},
"google_oauth": {
"client_id": "<string>",
"redirect_uri": "<string>",
"client_secret_secret_ref": "<string>",
"client_secret": "<string>"
},
"azure_oauth": {
"client_id": "<string>",
"tenant_id": "<string>",
"redirect_uri": "<string>",
"client_secret_secret_ref": "<string>",
"client_secret": "<string>"
},
"google_workspace": {
"domain": "<string>",
"admin_email": "jsmith@example.com",
"private_key_secret_ref": "<string>",
"private_key": "<string>"
},
"retention": {
"audit_log_retention_days": 2,
"metrics_retention_days": 2
},
"metrics": {
"prometheus_port": 32768
},
"ui": {
"browser_url": "<string>",
"dm_sql_url": "<string>",
"grafana_url": "<string>",
"prometheus_url": "<string>",
"log_store_url": "<string>"
}
}
'import requests
url = "http://localhost:3000/api/settings/"
payload = {
"features": {
"oauth2_enabled": True,
"local_users_enabled": True,
"self_service_onboarding": True,
"multi_cluster_mode": True,
"backup_auto_schedule": True,
"metrics_collection": True,
"api_docs_enabled": True
},
"oauth": {
"allowed_domains": ["<string>"],
"role_attribute_path": "<string>",
"role_attribute_strict": True
},
"google_oauth": {
"client_id": "<string>",
"redirect_uri": "<string>",
"client_secret_secret_ref": "<string>",
"client_secret": "<string>"
},
"azure_oauth": {
"client_id": "<string>",
"tenant_id": "<string>",
"redirect_uri": "<string>",
"client_secret_secret_ref": "<string>",
"client_secret": "<string>"
},
"google_workspace": {
"domain": "<string>",
"admin_email": "jsmith@example.com",
"private_key_secret_ref": "<string>",
"private_key": "<string>"
},
"retention": {
"audit_log_retention_days": 2,
"metrics_retention_days": 2
},
"metrics": { "prometheus_port": 32768 },
"ui": {
"browser_url": "<string>",
"dm_sql_url": "<string>",
"grafana_url": "<string>",
"prometheus_url": "<string>",
"log_store_url": "<string>"
}
}
headers = {
"cookie": "token=",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {cookie: 'token=', 'Content-Type': 'application/json'},
body: JSON.stringify({
features: {
oauth2_enabled: true,
local_users_enabled: true,
self_service_onboarding: true,
multi_cluster_mode: true,
backup_auto_schedule: true,
metrics_collection: true,
api_docs_enabled: true
},
oauth: {
allowed_domains: ['<string>'],
role_attribute_path: '<string>',
role_attribute_strict: true
},
google_oauth: {
client_id: '<string>',
redirect_uri: '<string>',
client_secret_secret_ref: '<string>',
client_secret: '<string>'
},
azure_oauth: {
client_id: '<string>',
tenant_id: '<string>',
redirect_uri: '<string>',
client_secret_secret_ref: '<string>',
client_secret: '<string>'
},
google_workspace: {
domain: '<string>',
admin_email: 'jsmith@example.com',
private_key_secret_ref: '<string>',
private_key: '<string>'
},
retention: {audit_log_retention_days: 2, metrics_retention_days: 2},
metrics: {prometheus_port: 32768},
ui: {
browser_url: '<string>',
dm_sql_url: '<string>',
grafana_url: '<string>',
prometheus_url: '<string>',
log_store_url: '<string>'
}
})
};
fetch('http://localhost:3000/api/settings/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "3000",
CURLOPT_URL => "http://localhost:3000/api/settings/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'features' => [
'oauth2_enabled' => true,
'local_users_enabled' => true,
'self_service_onboarding' => true,
'multi_cluster_mode' => true,
'backup_auto_schedule' => true,
'metrics_collection' => true,
'api_docs_enabled' => true
],
'oauth' => [
'allowed_domains' => [
'<string>'
],
'role_attribute_path' => '<string>',
'role_attribute_strict' => true
],
'google_oauth' => [
'client_id' => '<string>',
'redirect_uri' => '<string>',
'client_secret_secret_ref' => '<string>',
'client_secret' => '<string>'
],
'azure_oauth' => [
'client_id' => '<string>',
'tenant_id' => '<string>',
'redirect_uri' => '<string>',
'client_secret_secret_ref' => '<string>',
'client_secret' => '<string>'
],
'google_workspace' => [
'domain' => '<string>',
'admin_email' => 'jsmith@example.com',
'private_key_secret_ref' => '<string>',
'private_key' => '<string>'
],
'retention' => [
'audit_log_retention_days' => 2,
'metrics_retention_days' => 2
],
'metrics' => [
'prometheus_port' => 32768
],
'ui' => [
'browser_url' => '<string>',
'dm_sql_url' => '<string>',
'grafana_url' => '<string>',
'prometheus_url' => '<string>',
'log_store_url' => '<string>'
]
]),
CURLOPT_COOKIE => "token=",
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "http://localhost:3000/api/settings/"
payload := strings.NewReader("{\n \"features\": {\n \"oauth2_enabled\": true,\n \"local_users_enabled\": true,\n \"self_service_onboarding\": true,\n \"multi_cluster_mode\": true,\n \"backup_auto_schedule\": true,\n \"metrics_collection\": true,\n \"api_docs_enabled\": true\n },\n \"oauth\": {\n \"allowed_domains\": [\n \"<string>\"\n ],\n \"role_attribute_path\": \"<string>\",\n \"role_attribute_strict\": true\n },\n \"google_oauth\": {\n \"client_id\": \"<string>\",\n \"redirect_uri\": \"<string>\",\n \"client_secret_secret_ref\": \"<string>\",\n \"client_secret\": \"<string>\"\n },\n \"azure_oauth\": {\n \"client_id\": \"<string>\",\n \"tenant_id\": \"<string>\",\n \"redirect_uri\": \"<string>\",\n \"client_secret_secret_ref\": \"<string>\",\n \"client_secret\": \"<string>\"\n },\n \"google_workspace\": {\n \"domain\": \"<string>\",\n \"admin_email\": \"jsmith@example.com\",\n \"private_key_secret_ref\": \"<string>\",\n \"private_key\": \"<string>\"\n },\n \"retention\": {\n \"audit_log_retention_days\": 2,\n \"metrics_retention_days\": 2\n },\n \"metrics\": {\n \"prometheus_port\": 32768\n },\n \"ui\": {\n \"browser_url\": \"<string>\",\n \"dm_sql_url\": \"<string>\",\n \"grafana_url\": \"<string>\",\n \"prometheus_url\": \"<string>\",\n \"log_store_url\": \"<string>\"\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("cookie", "token=")
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))
}HttpResponse<String> response = Unirest.patch("http://localhost:3000/api/settings/")
.header("cookie", "token=")
.header("Content-Type", "application/json")
.body("{\n \"features\": {\n \"oauth2_enabled\": true,\n \"local_users_enabled\": true,\n \"self_service_onboarding\": true,\n \"multi_cluster_mode\": true,\n \"backup_auto_schedule\": true,\n \"metrics_collection\": true,\n \"api_docs_enabled\": true\n },\n \"oauth\": {\n \"allowed_domains\": [\n \"<string>\"\n ],\n \"role_attribute_path\": \"<string>\",\n \"role_attribute_strict\": true\n },\n \"google_oauth\": {\n \"client_id\": \"<string>\",\n \"redirect_uri\": \"<string>\",\n \"client_secret_secret_ref\": \"<string>\",\n \"client_secret\": \"<string>\"\n },\n \"azure_oauth\": {\n \"client_id\": \"<string>\",\n \"tenant_id\": \"<string>\",\n \"redirect_uri\": \"<string>\",\n \"client_secret_secret_ref\": \"<string>\",\n \"client_secret\": \"<string>\"\n },\n \"google_workspace\": {\n \"domain\": \"<string>\",\n \"admin_email\": \"jsmith@example.com\",\n \"private_key_secret_ref\": \"<string>\",\n \"private_key\": \"<string>\"\n },\n \"retention\": {\n \"audit_log_retention_days\": 2,\n \"metrics_retention_days\": 2\n },\n \"metrics\": {\n \"prometheus_port\": 32768\n },\n \"ui\": {\n \"browser_url\": \"<string>\",\n \"dm_sql_url\": \"<string>\",\n \"grafana_url\": \"<string>\",\n \"prometheus_url\": \"<string>\",\n \"log_store_url\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:3000/api/settings/")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Patch.new(url)
request["cookie"] = 'token='
request["Content-Type"] = 'application/json'
request.body = "{\n \"features\": {\n \"oauth2_enabled\": true,\n \"local_users_enabled\": true,\n \"self_service_onboarding\": true,\n \"multi_cluster_mode\": true,\n \"backup_auto_schedule\": true,\n \"metrics_collection\": true,\n \"api_docs_enabled\": true\n },\n \"oauth\": {\n \"allowed_domains\": [\n \"<string>\"\n ],\n \"role_attribute_path\": \"<string>\",\n \"role_attribute_strict\": true\n },\n \"google_oauth\": {\n \"client_id\": \"<string>\",\n \"redirect_uri\": \"<string>\",\n \"client_secret_secret_ref\": \"<string>\",\n \"client_secret\": \"<string>\"\n },\n \"azure_oauth\": {\n \"client_id\": \"<string>\",\n \"tenant_id\": \"<string>\",\n \"redirect_uri\": \"<string>\",\n \"client_secret_secret_ref\": \"<string>\",\n \"client_secret\": \"<string>\"\n },\n \"google_workspace\": {\n \"domain\": \"<string>\",\n \"admin_email\": \"jsmith@example.com\",\n \"private_key_secret_ref\": \"<string>\",\n \"private_key\": \"<string>\"\n },\n \"retention\": {\n \"audit_log_retention_days\": 2,\n \"metrics_retention_days\": 2\n },\n \"metrics\": {\n \"prometheus_port\": 32768\n },\n \"ui\": {\n \"browser_url\": \"<string>\",\n \"dm_sql_url\": \"<string>\",\n \"grafana_url\": \"<string>\",\n \"prometheus_url\": \"<string>\",\n \"log_store_url\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_body{
"features": {
"oauth2_enabled": true,
"local_users_enabled": true,
"self_service_onboarding": true,
"multi_cluster_mode": true,
"backup_auto_schedule": true,
"metrics_collection": true,
"api_docs_enabled": true
},
"oauth": {
"allowed_domains": [
"<string>"
],
"role_attribute_path": "<string>",
"role_attribute_strict": true
},
"retention": {
"audit_log_retention_days": 2,
"metrics_retention_days": 2
},
"metrics": {
"prometheus_port": 32768
},
"google_oauth": {
"client_id": "<string>",
"redirect_uri": "<string>",
"client_secret_secret_ref": "<string>"
},
"azure_oauth": {
"client_id": "<string>",
"tenant_id": "<string>",
"redirect_uri": "<string>",
"client_secret_secret_ref": "<string>"
},
"google_workspace": {
"domain": "<string>",
"admin_email": "jsmith@example.com",
"private_key_secret_ref": "<string>"
},
"ui": {
"browser_url": "<string>",
"dm_sql_url": "<string>",
"grafana_url": "<string>",
"prometheus_url": "<string>",
"log_store_url": "<string>"
}
}{
"error": "<string>",
"statusCode": 123,
"message": "<string>"
}{
"error": "<string>",
"statusCode": 123,
"message": "<string>"
}Settings
Update admin settings
PATCH
/
api
/
settings
/
Update admin settings
curl --request PATCH \
--url http://localhost:3000/api/settings/ \
--header 'Content-Type: application/json' \
--cookie token= \
--data '
{
"features": {
"oauth2_enabled": true,
"local_users_enabled": true,
"self_service_onboarding": true,
"multi_cluster_mode": true,
"backup_auto_schedule": true,
"metrics_collection": true,
"api_docs_enabled": true
},
"oauth": {
"allowed_domains": [
"<string>"
],
"role_attribute_path": "<string>",
"role_attribute_strict": true
},
"google_oauth": {
"client_id": "<string>",
"redirect_uri": "<string>",
"client_secret_secret_ref": "<string>",
"client_secret": "<string>"
},
"azure_oauth": {
"client_id": "<string>",
"tenant_id": "<string>",
"redirect_uri": "<string>",
"client_secret_secret_ref": "<string>",
"client_secret": "<string>"
},
"google_workspace": {
"domain": "<string>",
"admin_email": "jsmith@example.com",
"private_key_secret_ref": "<string>",
"private_key": "<string>"
},
"retention": {
"audit_log_retention_days": 2,
"metrics_retention_days": 2
},
"metrics": {
"prometheus_port": 32768
},
"ui": {
"browser_url": "<string>",
"dm_sql_url": "<string>",
"grafana_url": "<string>",
"prometheus_url": "<string>",
"log_store_url": "<string>"
}
}
'import requests
url = "http://localhost:3000/api/settings/"
payload = {
"features": {
"oauth2_enabled": True,
"local_users_enabled": True,
"self_service_onboarding": True,
"multi_cluster_mode": True,
"backup_auto_schedule": True,
"metrics_collection": True,
"api_docs_enabled": True
},
"oauth": {
"allowed_domains": ["<string>"],
"role_attribute_path": "<string>",
"role_attribute_strict": True
},
"google_oauth": {
"client_id": "<string>",
"redirect_uri": "<string>",
"client_secret_secret_ref": "<string>",
"client_secret": "<string>"
},
"azure_oauth": {
"client_id": "<string>",
"tenant_id": "<string>",
"redirect_uri": "<string>",
"client_secret_secret_ref": "<string>",
"client_secret": "<string>"
},
"google_workspace": {
"domain": "<string>",
"admin_email": "jsmith@example.com",
"private_key_secret_ref": "<string>",
"private_key": "<string>"
},
"retention": {
"audit_log_retention_days": 2,
"metrics_retention_days": 2
},
"metrics": { "prometheus_port": 32768 },
"ui": {
"browser_url": "<string>",
"dm_sql_url": "<string>",
"grafana_url": "<string>",
"prometheus_url": "<string>",
"log_store_url": "<string>"
}
}
headers = {
"cookie": "token=",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {cookie: 'token=', 'Content-Type': 'application/json'},
body: JSON.stringify({
features: {
oauth2_enabled: true,
local_users_enabled: true,
self_service_onboarding: true,
multi_cluster_mode: true,
backup_auto_schedule: true,
metrics_collection: true,
api_docs_enabled: true
},
oauth: {
allowed_domains: ['<string>'],
role_attribute_path: '<string>',
role_attribute_strict: true
},
google_oauth: {
client_id: '<string>',
redirect_uri: '<string>',
client_secret_secret_ref: '<string>',
client_secret: '<string>'
},
azure_oauth: {
client_id: '<string>',
tenant_id: '<string>',
redirect_uri: '<string>',
client_secret_secret_ref: '<string>',
client_secret: '<string>'
},
google_workspace: {
domain: '<string>',
admin_email: 'jsmith@example.com',
private_key_secret_ref: '<string>',
private_key: '<string>'
},
retention: {audit_log_retention_days: 2, metrics_retention_days: 2},
metrics: {prometheus_port: 32768},
ui: {
browser_url: '<string>',
dm_sql_url: '<string>',
grafana_url: '<string>',
prometheus_url: '<string>',
log_store_url: '<string>'
}
})
};
fetch('http://localhost:3000/api/settings/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "3000",
CURLOPT_URL => "http://localhost:3000/api/settings/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'features' => [
'oauth2_enabled' => true,
'local_users_enabled' => true,
'self_service_onboarding' => true,
'multi_cluster_mode' => true,
'backup_auto_schedule' => true,
'metrics_collection' => true,
'api_docs_enabled' => true
],
'oauth' => [
'allowed_domains' => [
'<string>'
],
'role_attribute_path' => '<string>',
'role_attribute_strict' => true
],
'google_oauth' => [
'client_id' => '<string>',
'redirect_uri' => '<string>',
'client_secret_secret_ref' => '<string>',
'client_secret' => '<string>'
],
'azure_oauth' => [
'client_id' => '<string>',
'tenant_id' => '<string>',
'redirect_uri' => '<string>',
'client_secret_secret_ref' => '<string>',
'client_secret' => '<string>'
],
'google_workspace' => [
'domain' => '<string>',
'admin_email' => 'jsmith@example.com',
'private_key_secret_ref' => '<string>',
'private_key' => '<string>'
],
'retention' => [
'audit_log_retention_days' => 2,
'metrics_retention_days' => 2
],
'metrics' => [
'prometheus_port' => 32768
],
'ui' => [
'browser_url' => '<string>',
'dm_sql_url' => '<string>',
'grafana_url' => '<string>',
'prometheus_url' => '<string>',
'log_store_url' => '<string>'
]
]),
CURLOPT_COOKIE => "token=",
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "http://localhost:3000/api/settings/"
payload := strings.NewReader("{\n \"features\": {\n \"oauth2_enabled\": true,\n \"local_users_enabled\": true,\n \"self_service_onboarding\": true,\n \"multi_cluster_mode\": true,\n \"backup_auto_schedule\": true,\n \"metrics_collection\": true,\n \"api_docs_enabled\": true\n },\n \"oauth\": {\n \"allowed_domains\": [\n \"<string>\"\n ],\n \"role_attribute_path\": \"<string>\",\n \"role_attribute_strict\": true\n },\n \"google_oauth\": {\n \"client_id\": \"<string>\",\n \"redirect_uri\": \"<string>\",\n \"client_secret_secret_ref\": \"<string>\",\n \"client_secret\": \"<string>\"\n },\n \"azure_oauth\": {\n \"client_id\": \"<string>\",\n \"tenant_id\": \"<string>\",\n \"redirect_uri\": \"<string>\",\n \"client_secret_secret_ref\": \"<string>\",\n \"client_secret\": \"<string>\"\n },\n \"google_workspace\": {\n \"domain\": \"<string>\",\n \"admin_email\": \"jsmith@example.com\",\n \"private_key_secret_ref\": \"<string>\",\n \"private_key\": \"<string>\"\n },\n \"retention\": {\n \"audit_log_retention_days\": 2,\n \"metrics_retention_days\": 2\n },\n \"metrics\": {\n \"prometheus_port\": 32768\n },\n \"ui\": {\n \"browser_url\": \"<string>\",\n \"dm_sql_url\": \"<string>\",\n \"grafana_url\": \"<string>\",\n \"prometheus_url\": \"<string>\",\n \"log_store_url\": \"<string>\"\n }\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("cookie", "token=")
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))
}HttpResponse<String> response = Unirest.patch("http://localhost:3000/api/settings/")
.header("cookie", "token=")
.header("Content-Type", "application/json")
.body("{\n \"features\": {\n \"oauth2_enabled\": true,\n \"local_users_enabled\": true,\n \"self_service_onboarding\": true,\n \"multi_cluster_mode\": true,\n \"backup_auto_schedule\": true,\n \"metrics_collection\": true,\n \"api_docs_enabled\": true\n },\n \"oauth\": {\n \"allowed_domains\": [\n \"<string>\"\n ],\n \"role_attribute_path\": \"<string>\",\n \"role_attribute_strict\": true\n },\n \"google_oauth\": {\n \"client_id\": \"<string>\",\n \"redirect_uri\": \"<string>\",\n \"client_secret_secret_ref\": \"<string>\",\n \"client_secret\": \"<string>\"\n },\n \"azure_oauth\": {\n \"client_id\": \"<string>\",\n \"tenant_id\": \"<string>\",\n \"redirect_uri\": \"<string>\",\n \"client_secret_secret_ref\": \"<string>\",\n \"client_secret\": \"<string>\"\n },\n \"google_workspace\": {\n \"domain\": \"<string>\",\n \"admin_email\": \"jsmith@example.com\",\n \"private_key_secret_ref\": \"<string>\",\n \"private_key\": \"<string>\"\n },\n \"retention\": {\n \"audit_log_retention_days\": 2,\n \"metrics_retention_days\": 2\n },\n \"metrics\": {\n \"prometheus_port\": 32768\n },\n \"ui\": {\n \"browser_url\": \"<string>\",\n \"dm_sql_url\": \"<string>\",\n \"grafana_url\": \"<string>\",\n \"prometheus_url\": \"<string>\",\n \"log_store_url\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("http://localhost:3000/api/settings/")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Patch.new(url)
request["cookie"] = 'token='
request["Content-Type"] = 'application/json'
request.body = "{\n \"features\": {\n \"oauth2_enabled\": true,\n \"local_users_enabled\": true,\n \"self_service_onboarding\": true,\n \"multi_cluster_mode\": true,\n \"backup_auto_schedule\": true,\n \"metrics_collection\": true,\n \"api_docs_enabled\": true\n },\n \"oauth\": {\n \"allowed_domains\": [\n \"<string>\"\n ],\n \"role_attribute_path\": \"<string>\",\n \"role_attribute_strict\": true\n },\n \"google_oauth\": {\n \"client_id\": \"<string>\",\n \"redirect_uri\": \"<string>\",\n \"client_secret_secret_ref\": \"<string>\",\n \"client_secret\": \"<string>\"\n },\n \"azure_oauth\": {\n \"client_id\": \"<string>\",\n \"tenant_id\": \"<string>\",\n \"redirect_uri\": \"<string>\",\n \"client_secret_secret_ref\": \"<string>\",\n \"client_secret\": \"<string>\"\n },\n \"google_workspace\": {\n \"domain\": \"<string>\",\n \"admin_email\": \"jsmith@example.com\",\n \"private_key_secret_ref\": \"<string>\",\n \"private_key\": \"<string>\"\n },\n \"retention\": {\n \"audit_log_retention_days\": 2,\n \"metrics_retention_days\": 2\n },\n \"metrics\": {\n \"prometheus_port\": 32768\n },\n \"ui\": {\n \"browser_url\": \"<string>\",\n \"dm_sql_url\": \"<string>\",\n \"grafana_url\": \"<string>\",\n \"prometheus_url\": \"<string>\",\n \"log_store_url\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_body{
"features": {
"oauth2_enabled": true,
"local_users_enabled": true,
"self_service_onboarding": true,
"multi_cluster_mode": true,
"backup_auto_schedule": true,
"metrics_collection": true,
"api_docs_enabled": true
},
"oauth": {
"allowed_domains": [
"<string>"
],
"role_attribute_path": "<string>",
"role_attribute_strict": true
},
"retention": {
"audit_log_retention_days": 2,
"metrics_retention_days": 2
},
"metrics": {
"prometheus_port": 32768
},
"google_oauth": {
"client_id": "<string>",
"redirect_uri": "<string>",
"client_secret_secret_ref": "<string>"
},
"azure_oauth": {
"client_id": "<string>",
"tenant_id": "<string>",
"redirect_uri": "<string>",
"client_secret_secret_ref": "<string>"
},
"google_workspace": {
"domain": "<string>",
"admin_email": "jsmith@example.com",
"private_key_secret_ref": "<string>"
},
"ui": {
"browser_url": "<string>",
"dm_sql_url": "<string>",
"grafana_url": "<string>",
"prometheus_url": "<string>",
"log_store_url": "<string>"
}
}{
"error": "<string>",
"statusCode": 123,
"message": "<string>"
}{
"error": "<string>",
"statusCode": 123,
"message": "<string>"
}Authorizations
JWT token stored in HTTP-only cookie
Body
application/json
Response
Default Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I