Update current organization
PUT
/
v1
/
identity
/
org
Update current organization
curl --request PUT \
--url https://api-sandbox.featherhq.com/v1/identity/org \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"settings": {
"retry": {
"max_retries": 0,
"base_delay_seconds": 1,
"max_delay_seconds": 30,
"jitter": true
},
"kb_pii": {
"enabled": false
},
"kb_role_clearance_map": {},
"kb_role_audience_map": {},
"kb_acl_oversample_factor": 2,
"call_window": {
"enabled": false,
"timezone": "America/Los_Angeles",
"window_start": "09:00:00",
"window_end": "17:00:00",
"days_of_week": [
123
]
},
"call_expiry": {
"enabled": false,
"days": 0,
"hours": 0
},
"holiday_calendar": {
"enabled": true,
"holidays": [
{
"start_date": "2023-12-25",
"name": "<string>",
"end_date": "2023-12-25",
"recurring": false
}
]
},
"voice_entitlements": {
"max_active_calls": 5000,
"outbound_cps": 5000,
"queue_weight": 500,
"priority_class": 1,
"priority_aging_max_wait_seconds": 43200,
"inbound_reserved_calls": 5000
},
"memory": {
"min_user_turns": 1,
"fact_cap": 50,
"retention_days": 2
},
"inline_kb_sources": true,
"current_time": {
"enabled": true,
"timezone": "<string>"
}
}
}
'import requests
url = "https://api-sandbox.featherhq.com/v1/identity/org"
payload = { "settings": {
"retry": {
"max_retries": 0,
"base_delay_seconds": 1,
"max_delay_seconds": 30,
"jitter": True
},
"kb_pii": { "enabled": False },
"kb_role_clearance_map": {},
"kb_role_audience_map": {},
"kb_acl_oversample_factor": 2,
"call_window": {
"enabled": False,
"timezone": "America/Los_Angeles",
"window_start": "09:00:00",
"window_end": "17:00:00",
"days_of_week": [123]
},
"call_expiry": {
"enabled": False,
"days": 0,
"hours": 0
},
"holiday_calendar": {
"enabled": True,
"holidays": [
{
"start_date": "2023-12-25",
"name": "<string>",
"end_date": "2023-12-25",
"recurring": False
}
]
},
"voice_entitlements": {
"max_active_calls": 5000,
"outbound_cps": 5000,
"queue_weight": 500,
"priority_class": 1,
"priority_aging_max_wait_seconds": 43200,
"inbound_reserved_calls": 5000
},
"memory": {
"min_user_turns": 1,
"fact_cap": 50,
"retention_days": 2
},
"inline_kb_sources": True,
"current_time": {
"enabled": True,
"timezone": "<string>"
}
} }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
settings: {
retry: {max_retries: 0, base_delay_seconds: 1, max_delay_seconds: 30, jitter: true},
kb_pii: {enabled: false},
kb_role_clearance_map: {},
kb_role_audience_map: {},
kb_acl_oversample_factor: 2,
call_window: {
enabled: false,
timezone: 'America/Los_Angeles',
window_start: '09:00:00',
window_end: '17:00:00',
days_of_week: [123]
},
call_expiry: {enabled: false, days: 0, hours: 0},
holiday_calendar: {
enabled: true,
holidays: [
{
start_date: '2023-12-25',
name: '<string>',
end_date: '2023-12-25',
recurring: false
}
]
},
voice_entitlements: {
max_active_calls: 5000,
outbound_cps: 5000,
queue_weight: 500,
priority_class: 1,
priority_aging_max_wait_seconds: 43200,
inbound_reserved_calls: 5000
},
memory: {min_user_turns: 1, fact_cap: 50, retention_days: 2},
inline_kb_sources: true,
current_time: {enabled: true, timezone: '<string>'}
}
})
};
fetch('https://api-sandbox.featherhq.com/v1/identity/org', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-sandbox.featherhq.com/v1/identity/org",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'settings' => [
'retry' => [
'max_retries' => 0,
'base_delay_seconds' => 1,
'max_delay_seconds' => 30,
'jitter' => true
],
'kb_pii' => [
'enabled' => false
],
'kb_role_clearance_map' => [
],
'kb_role_audience_map' => [
],
'kb_acl_oversample_factor' => 2,
'call_window' => [
'enabled' => false,
'timezone' => 'America/Los_Angeles',
'window_start' => '09:00:00',
'window_end' => '17:00:00',
'days_of_week' => [
123
]
],
'call_expiry' => [
'enabled' => false,
'days' => 0,
'hours' => 0
],
'holiday_calendar' => [
'enabled' => true,
'holidays' => [
[
'start_date' => '2023-12-25',
'name' => '<string>',
'end_date' => '2023-12-25',
'recurring' => false
]
]
],
'voice_entitlements' => [
'max_active_calls' => 5000,
'outbound_cps' => 5000,
'queue_weight' => 500,
'priority_class' => 1,
'priority_aging_max_wait_seconds' => 43200,
'inbound_reserved_calls' => 5000
],
'memory' => [
'min_user_turns' => 1,
'fact_cap' => 50,
'retention_days' => 2
],
'inline_kb_sources' => true,
'current_time' => [
'enabled' => true,
'timezone' => '<string>'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$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 := "https://api-sandbox.featherhq.com/v1/identity/org"
payload := strings.NewReader("{\n \"settings\": {\n \"retry\": {\n \"max_retries\": 0,\n \"base_delay_seconds\": 1,\n \"max_delay_seconds\": 30,\n \"jitter\": true\n },\n \"kb_pii\": {\n \"enabled\": false\n },\n \"kb_role_clearance_map\": {},\n \"kb_role_audience_map\": {},\n \"kb_acl_oversample_factor\": 2,\n \"call_window\": {\n \"enabled\": false,\n \"timezone\": \"America/Los_Angeles\",\n \"window_start\": \"09:00:00\",\n \"window_end\": \"17:00:00\",\n \"days_of_week\": [\n 123\n ]\n },\n \"call_expiry\": {\n \"enabled\": false,\n \"days\": 0,\n \"hours\": 0\n },\n \"holiday_calendar\": {\n \"enabled\": true,\n \"holidays\": [\n {\n \"start_date\": \"2023-12-25\",\n \"name\": \"<string>\",\n \"end_date\": \"2023-12-25\",\n \"recurring\": false\n }\n ]\n },\n \"voice_entitlements\": {\n \"max_active_calls\": 5000,\n \"outbound_cps\": 5000,\n \"queue_weight\": 500,\n \"priority_class\": 1,\n \"priority_aging_max_wait_seconds\": 43200,\n \"inbound_reserved_calls\": 5000\n },\n \"memory\": {\n \"min_user_turns\": 1,\n \"fact_cap\": 50,\n \"retention_days\": 2\n },\n \"inline_kb_sources\": true,\n \"current_time\": {\n \"enabled\": true,\n \"timezone\": \"<string>\"\n }\n }\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("x-api-key", "<api-key>")
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.put("https://api-sandbox.featherhq.com/v1/identity/org")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"settings\": {\n \"retry\": {\n \"max_retries\": 0,\n \"base_delay_seconds\": 1,\n \"max_delay_seconds\": 30,\n \"jitter\": true\n },\n \"kb_pii\": {\n \"enabled\": false\n },\n \"kb_role_clearance_map\": {},\n \"kb_role_audience_map\": {},\n \"kb_acl_oversample_factor\": 2,\n \"call_window\": {\n \"enabled\": false,\n \"timezone\": \"America/Los_Angeles\",\n \"window_start\": \"09:00:00\",\n \"window_end\": \"17:00:00\",\n \"days_of_week\": [\n 123\n ]\n },\n \"call_expiry\": {\n \"enabled\": false,\n \"days\": 0,\n \"hours\": 0\n },\n \"holiday_calendar\": {\n \"enabled\": true,\n \"holidays\": [\n {\n \"start_date\": \"2023-12-25\",\n \"name\": \"<string>\",\n \"end_date\": \"2023-12-25\",\n \"recurring\": false\n }\n ]\n },\n \"voice_entitlements\": {\n \"max_active_calls\": 5000,\n \"outbound_cps\": 5000,\n \"queue_weight\": 500,\n \"priority_class\": 1,\n \"priority_aging_max_wait_seconds\": 43200,\n \"inbound_reserved_calls\": 5000\n },\n \"memory\": {\n \"min_user_turns\": 1,\n \"fact_cap\": 50,\n \"retention_days\": 2\n },\n \"inline_kb_sources\": true,\n \"current_time\": {\n \"enabled\": true,\n \"timezone\": \"<string>\"\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.featherhq.com/v1/identity/org")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"settings\": {\n \"retry\": {\n \"max_retries\": 0,\n \"base_delay_seconds\": 1,\n \"max_delay_seconds\": 30,\n \"jitter\": true\n },\n \"kb_pii\": {\n \"enabled\": false\n },\n \"kb_role_clearance_map\": {},\n \"kb_role_audience_map\": {},\n \"kb_acl_oversample_factor\": 2,\n \"call_window\": {\n \"enabled\": false,\n \"timezone\": \"America/Los_Angeles\",\n \"window_start\": \"09:00:00\",\n \"window_end\": \"17:00:00\",\n \"days_of_week\": [\n 123\n ]\n },\n \"call_expiry\": {\n \"enabled\": false,\n \"days\": 0,\n \"hours\": 0\n },\n \"holiday_calendar\": {\n \"enabled\": true,\n \"holidays\": [\n {\n \"start_date\": \"2023-12-25\",\n \"name\": \"<string>\",\n \"end_date\": \"2023-12-25\",\n \"recurring\": false\n }\n ]\n },\n \"voice_entitlements\": {\n \"max_active_calls\": 5000,\n \"outbound_cps\": 5000,\n \"queue_weight\": 500,\n \"priority_class\": 1,\n \"priority_aging_max_wait_seconds\": 43200,\n \"inbound_reserved_calls\": 5000\n },\n \"memory\": {\n \"min_user_turns\": 1,\n \"fact_cap\": 50,\n \"retention_days\": 2\n },\n \"inline_kb_sources\": true,\n \"current_time\": {\n \"enabled\": true,\n \"timezone\": \"<string>\"\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"clerk_org_id": "<string>",
"name": "<string>",
"slug": "<string>",
"settings": {
"retry": {
"max_retries": 0,
"base_delay_seconds": 1,
"max_delay_seconds": 30,
"jitter": true
},
"kb_pii": {
"enabled": false
},
"kb_role_clearance_map": {},
"kb_role_audience_map": {},
"kb_classification_mode": "auto",
"kb_acl_oversample_factor": 2,
"call_window": {
"enabled": false,
"timezone": "America/Los_Angeles",
"window_start": "09:00:00",
"window_end": "17:00:00",
"days_of_week": [
123
]
},
"call_expiry": {
"enabled": false,
"days": 0,
"hours": 0
},
"holiday_calendar": {
"enabled": true,
"holidays": [
{
"start_date": "2023-12-25",
"name": "<string>",
"end_date": "2023-12-25",
"recurring": false
}
]
},
"voice_entitlements": {
"max_active_calls": 5000,
"outbound_cps": 5000,
"queue_weight": 500,
"priority_class": 1,
"priority_aging_max_wait_seconds": 43200,
"inbound_reserved_calls": 5000
},
"memory": {
"min_user_turns": 1,
"fact_cap": 50,
"retention_days": 2
},
"inline_kb_sources": true,
"current_time": {
"enabled": true,
"timezone": "<string>"
}
},
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"message": "<string>",
"retryable": true,
"retry_after": 123
}{
"error": "<string>",
"message": "<string>",
"retryable": true,
"retry_after": 123
}{
"error": "<string>",
"message": "<string>",
"retryable": true,
"retry_after": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Body
application/json
Typed schema for Organization.settings JSON column.
Show child attributes
Show child attributes
Response
Successful Response
Typed schema for Organization.settings JSON column.
Show child attributes
Show child attributes
Was this page helpful?
⌘I
Update current organization
curl --request PUT \
--url https://api-sandbox.featherhq.com/v1/identity/org \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"settings": {
"retry": {
"max_retries": 0,
"base_delay_seconds": 1,
"max_delay_seconds": 30,
"jitter": true
},
"kb_pii": {
"enabled": false
},
"kb_role_clearance_map": {},
"kb_role_audience_map": {},
"kb_acl_oversample_factor": 2,
"call_window": {
"enabled": false,
"timezone": "America/Los_Angeles",
"window_start": "09:00:00",
"window_end": "17:00:00",
"days_of_week": [
123
]
},
"call_expiry": {
"enabled": false,
"days": 0,
"hours": 0
},
"holiday_calendar": {
"enabled": true,
"holidays": [
{
"start_date": "2023-12-25",
"name": "<string>",
"end_date": "2023-12-25",
"recurring": false
}
]
},
"voice_entitlements": {
"max_active_calls": 5000,
"outbound_cps": 5000,
"queue_weight": 500,
"priority_class": 1,
"priority_aging_max_wait_seconds": 43200,
"inbound_reserved_calls": 5000
},
"memory": {
"min_user_turns": 1,
"fact_cap": 50,
"retention_days": 2
},
"inline_kb_sources": true,
"current_time": {
"enabled": true,
"timezone": "<string>"
}
}
}
'import requests
url = "https://api-sandbox.featherhq.com/v1/identity/org"
payload = { "settings": {
"retry": {
"max_retries": 0,
"base_delay_seconds": 1,
"max_delay_seconds": 30,
"jitter": True
},
"kb_pii": { "enabled": False },
"kb_role_clearance_map": {},
"kb_role_audience_map": {},
"kb_acl_oversample_factor": 2,
"call_window": {
"enabled": False,
"timezone": "America/Los_Angeles",
"window_start": "09:00:00",
"window_end": "17:00:00",
"days_of_week": [123]
},
"call_expiry": {
"enabled": False,
"days": 0,
"hours": 0
},
"holiday_calendar": {
"enabled": True,
"holidays": [
{
"start_date": "2023-12-25",
"name": "<string>",
"end_date": "2023-12-25",
"recurring": False
}
]
},
"voice_entitlements": {
"max_active_calls": 5000,
"outbound_cps": 5000,
"queue_weight": 500,
"priority_class": 1,
"priority_aging_max_wait_seconds": 43200,
"inbound_reserved_calls": 5000
},
"memory": {
"min_user_turns": 1,
"fact_cap": 50,
"retention_days": 2
},
"inline_kb_sources": True,
"current_time": {
"enabled": True,
"timezone": "<string>"
}
} }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
settings: {
retry: {max_retries: 0, base_delay_seconds: 1, max_delay_seconds: 30, jitter: true},
kb_pii: {enabled: false},
kb_role_clearance_map: {},
kb_role_audience_map: {},
kb_acl_oversample_factor: 2,
call_window: {
enabled: false,
timezone: 'America/Los_Angeles',
window_start: '09:00:00',
window_end: '17:00:00',
days_of_week: [123]
},
call_expiry: {enabled: false, days: 0, hours: 0},
holiday_calendar: {
enabled: true,
holidays: [
{
start_date: '2023-12-25',
name: '<string>',
end_date: '2023-12-25',
recurring: false
}
]
},
voice_entitlements: {
max_active_calls: 5000,
outbound_cps: 5000,
queue_weight: 500,
priority_class: 1,
priority_aging_max_wait_seconds: 43200,
inbound_reserved_calls: 5000
},
memory: {min_user_turns: 1, fact_cap: 50, retention_days: 2},
inline_kb_sources: true,
current_time: {enabled: true, timezone: '<string>'}
}
})
};
fetch('https://api-sandbox.featherhq.com/v1/identity/org', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-sandbox.featherhq.com/v1/identity/org",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'settings' => [
'retry' => [
'max_retries' => 0,
'base_delay_seconds' => 1,
'max_delay_seconds' => 30,
'jitter' => true
],
'kb_pii' => [
'enabled' => false
],
'kb_role_clearance_map' => [
],
'kb_role_audience_map' => [
],
'kb_acl_oversample_factor' => 2,
'call_window' => [
'enabled' => false,
'timezone' => 'America/Los_Angeles',
'window_start' => '09:00:00',
'window_end' => '17:00:00',
'days_of_week' => [
123
]
],
'call_expiry' => [
'enabled' => false,
'days' => 0,
'hours' => 0
],
'holiday_calendar' => [
'enabled' => true,
'holidays' => [
[
'start_date' => '2023-12-25',
'name' => '<string>',
'end_date' => '2023-12-25',
'recurring' => false
]
]
],
'voice_entitlements' => [
'max_active_calls' => 5000,
'outbound_cps' => 5000,
'queue_weight' => 500,
'priority_class' => 1,
'priority_aging_max_wait_seconds' => 43200,
'inbound_reserved_calls' => 5000
],
'memory' => [
'min_user_turns' => 1,
'fact_cap' => 50,
'retention_days' => 2
],
'inline_kb_sources' => true,
'current_time' => [
'enabled' => true,
'timezone' => '<string>'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$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 := "https://api-sandbox.featherhq.com/v1/identity/org"
payload := strings.NewReader("{\n \"settings\": {\n \"retry\": {\n \"max_retries\": 0,\n \"base_delay_seconds\": 1,\n \"max_delay_seconds\": 30,\n \"jitter\": true\n },\n \"kb_pii\": {\n \"enabled\": false\n },\n \"kb_role_clearance_map\": {},\n \"kb_role_audience_map\": {},\n \"kb_acl_oversample_factor\": 2,\n \"call_window\": {\n \"enabled\": false,\n \"timezone\": \"America/Los_Angeles\",\n \"window_start\": \"09:00:00\",\n \"window_end\": \"17:00:00\",\n \"days_of_week\": [\n 123\n ]\n },\n \"call_expiry\": {\n \"enabled\": false,\n \"days\": 0,\n \"hours\": 0\n },\n \"holiday_calendar\": {\n \"enabled\": true,\n \"holidays\": [\n {\n \"start_date\": \"2023-12-25\",\n \"name\": \"<string>\",\n \"end_date\": \"2023-12-25\",\n \"recurring\": false\n }\n ]\n },\n \"voice_entitlements\": {\n \"max_active_calls\": 5000,\n \"outbound_cps\": 5000,\n \"queue_weight\": 500,\n \"priority_class\": 1,\n \"priority_aging_max_wait_seconds\": 43200,\n \"inbound_reserved_calls\": 5000\n },\n \"memory\": {\n \"min_user_turns\": 1,\n \"fact_cap\": 50,\n \"retention_days\": 2\n },\n \"inline_kb_sources\": true,\n \"current_time\": {\n \"enabled\": true,\n \"timezone\": \"<string>\"\n }\n }\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("x-api-key", "<api-key>")
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.put("https://api-sandbox.featherhq.com/v1/identity/org")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"settings\": {\n \"retry\": {\n \"max_retries\": 0,\n \"base_delay_seconds\": 1,\n \"max_delay_seconds\": 30,\n \"jitter\": true\n },\n \"kb_pii\": {\n \"enabled\": false\n },\n \"kb_role_clearance_map\": {},\n \"kb_role_audience_map\": {},\n \"kb_acl_oversample_factor\": 2,\n \"call_window\": {\n \"enabled\": false,\n \"timezone\": \"America/Los_Angeles\",\n \"window_start\": \"09:00:00\",\n \"window_end\": \"17:00:00\",\n \"days_of_week\": [\n 123\n ]\n },\n \"call_expiry\": {\n \"enabled\": false,\n \"days\": 0,\n \"hours\": 0\n },\n \"holiday_calendar\": {\n \"enabled\": true,\n \"holidays\": [\n {\n \"start_date\": \"2023-12-25\",\n \"name\": \"<string>\",\n \"end_date\": \"2023-12-25\",\n \"recurring\": false\n }\n ]\n },\n \"voice_entitlements\": {\n \"max_active_calls\": 5000,\n \"outbound_cps\": 5000,\n \"queue_weight\": 500,\n \"priority_class\": 1,\n \"priority_aging_max_wait_seconds\": 43200,\n \"inbound_reserved_calls\": 5000\n },\n \"memory\": {\n \"min_user_turns\": 1,\n \"fact_cap\": 50,\n \"retention_days\": 2\n },\n \"inline_kb_sources\": true,\n \"current_time\": {\n \"enabled\": true,\n \"timezone\": \"<string>\"\n }\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.featherhq.com/v1/identity/org")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"settings\": {\n \"retry\": {\n \"max_retries\": 0,\n \"base_delay_seconds\": 1,\n \"max_delay_seconds\": 30,\n \"jitter\": true\n },\n \"kb_pii\": {\n \"enabled\": false\n },\n \"kb_role_clearance_map\": {},\n \"kb_role_audience_map\": {},\n \"kb_acl_oversample_factor\": 2,\n \"call_window\": {\n \"enabled\": false,\n \"timezone\": \"America/Los_Angeles\",\n \"window_start\": \"09:00:00\",\n \"window_end\": \"17:00:00\",\n \"days_of_week\": [\n 123\n ]\n },\n \"call_expiry\": {\n \"enabled\": false,\n \"days\": 0,\n \"hours\": 0\n },\n \"holiday_calendar\": {\n \"enabled\": true,\n \"holidays\": [\n {\n \"start_date\": \"2023-12-25\",\n \"name\": \"<string>\",\n \"end_date\": \"2023-12-25\",\n \"recurring\": false\n }\n ]\n },\n \"voice_entitlements\": {\n \"max_active_calls\": 5000,\n \"outbound_cps\": 5000,\n \"queue_weight\": 500,\n \"priority_class\": 1,\n \"priority_aging_max_wait_seconds\": 43200,\n \"inbound_reserved_calls\": 5000\n },\n \"memory\": {\n \"min_user_turns\": 1,\n \"fact_cap\": 50,\n \"retention_days\": 2\n },\n \"inline_kb_sources\": true,\n \"current_time\": {\n \"enabled\": true,\n \"timezone\": \"<string>\"\n }\n }\n}"
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"clerk_org_id": "<string>",
"name": "<string>",
"slug": "<string>",
"settings": {
"retry": {
"max_retries": 0,
"base_delay_seconds": 1,
"max_delay_seconds": 30,
"jitter": true
},
"kb_pii": {
"enabled": false
},
"kb_role_clearance_map": {},
"kb_role_audience_map": {},
"kb_classification_mode": "auto",
"kb_acl_oversample_factor": 2,
"call_window": {
"enabled": false,
"timezone": "America/Los_Angeles",
"window_start": "09:00:00",
"window_end": "17:00:00",
"days_of_week": [
123
]
},
"call_expiry": {
"enabled": false,
"days": 0,
"hours": 0
},
"holiday_calendar": {
"enabled": true,
"holidays": [
{
"start_date": "2023-12-25",
"name": "<string>",
"end_date": "2023-12-25",
"recurring": false
}
]
},
"voice_entitlements": {
"max_active_calls": 5000,
"outbound_cps": 5000,
"queue_weight": 500,
"priority_class": 1,
"priority_aging_max_wait_seconds": 43200,
"inbound_reserved_calls": 5000
},
"memory": {
"min_user_turns": 1,
"fact_cap": 50,
"retention_days": 2
},
"inline_kb_sources": true,
"current_time": {
"enabled": true,
"timezone": "<string>"
}
},
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"message": "<string>",
"retryable": true,
"retry_after": 123
}{
"error": "<string>",
"message": "<string>",
"retryable": true,
"retry_after": 123
}{
"error": "<string>",
"message": "<string>",
"retryable": true,
"retry_after": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}