Risikokonfiguration abrufen
curl --request GET \
--url https://api.truthlocks.com/v1/risk/config \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.truthlocks.com/v1/risk/config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/risk/config"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.truthlocks.com/v1/risk/config"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"auto_case_threshold": 50,
"auto_block_threshold": 50,
"auto_challenge_threshold": 50,
"email_alerts_enabled": true,
"webhook_alerts_enabled": true,
"siem_format": "json",
"tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"updated_at": "<string>"
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}Risikobetrieb
Risikoeinstellungen lesen
Risikokonfiguration abrufen
GET
/
v1
/
risk
/
config
Risikokonfiguration abrufen
curl --request GET \
--url https://api.truthlocks.com/v1/risk/config \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.truthlocks.com/v1/risk/config', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.truthlocks.com/v1/risk/config"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.truthlocks.com/v1/risk/config"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"auto_case_threshold": 50,
"auto_block_threshold": 50,
"auto_challenge_threshold": 50,
"email_alerts_enabled": true,
"webhook_alerts_enabled": true,
"siem_format": "json",
"tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"updated_at": "<string>"
}{
"code": "AUTH_REQUIRED",
"message": "Authentication required",
"http_status": 401
}Gespeicherte Schwellenwerte und Benachrichtigungseinstellungen lesen. Ein leeres updated_at bedeutet, dass Standardwerte noch nicht persistent gespeichert wurden. Ein Benachrichtigungsschalter beweist nicht, dass eine E-Mail oder ein Webhook zugestellt wurde.
Autorisierungen
Antwort
Aktuelles Arbeitsbereichsergebnis

