Write organization configuration
curl --request PUT \
--url https://platform.dev.timeback.com/rostering/1.0/orgs/{sourcedId}/config \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"config": {
"appStoreEnabled": true,
"consentManagementEnabled": true,
"privacyPolicyUrl": "<string>",
"timeZone": "<string>",
"consentAdminEmail": "jsmith@example.com",
"consentTemplateId": "<string>"
}
}
'import requests
url = "https://platform.dev.timeback.com/rostering/1.0/orgs/{sourcedId}/config"
payload = { "config": {
"appStoreEnabled": True,
"consentManagementEnabled": True,
"privacyPolicyUrl": "<string>",
"timeZone": "<string>",
"consentAdminEmail": "jsmith@example.com",
"consentTemplateId": "<string>"
} }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
config: {
appStoreEnabled: true,
consentManagementEnabled: true,
privacyPolicyUrl: '<string>',
timeZone: '<string>',
consentAdminEmail: 'jsmith@example.com',
consentTemplateId: '<string>'
}
})
};
fetch('https://platform.dev.timeback.com/rostering/1.0/orgs/{sourcedId}/config', 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://platform.dev.timeback.com/rostering/1.0/orgs/{sourcedId}/config",
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([
'config' => [
'appStoreEnabled' => true,
'consentManagementEnabled' => true,
'privacyPolicyUrl' => '<string>',
'timeZone' => '<string>',
'consentAdminEmail' => 'jsmith@example.com',
'consentTemplateId' => '<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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 := "https://platform.dev.timeback.com/rostering/1.0/orgs/{sourcedId}/config"
payload := strings.NewReader("{\n \"config\": {\n \"appStoreEnabled\": true,\n \"consentManagementEnabled\": true,\n \"privacyPolicyUrl\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"consentAdminEmail\": \"jsmith@example.com\",\n \"consentTemplateId\": \"<string>\"\n }\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <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.put("https://platform.dev.timeback.com/rostering/1.0/orgs/{sourcedId}/config")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"config\": {\n \"appStoreEnabled\": true,\n \"consentManagementEnabled\": true,\n \"privacyPolicyUrl\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"consentAdminEmail\": \"jsmith@example.com\",\n \"consentTemplateId\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://platform.dev.timeback.com/rostering/1.0/orgs/{sourcedId}/config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"config\": {\n \"appStoreEnabled\": true,\n \"consentManagementEnabled\": true,\n \"privacyPolicyUrl\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"consentAdminEmail\": \"jsmith@example.com\",\n \"consentTemplateId\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_bodyOrganizations
Write organization configuration
Write semantics per key in the body:
- Key absent: no-op.
- Value
null: delete the row (revert to inherited / default). - Value present: upsert. Registered keys are validated; invalid values return 400.
PUT
/
rostering
/
1.0
/
orgs
/
{sourcedId}
/
config
Write organization configuration
curl --request PUT \
--url https://platform.dev.timeback.com/rostering/1.0/orgs/{sourcedId}/config \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"config": {
"appStoreEnabled": true,
"consentManagementEnabled": true,
"privacyPolicyUrl": "<string>",
"timeZone": "<string>",
"consentAdminEmail": "jsmith@example.com",
"consentTemplateId": "<string>"
}
}
'import requests
url = "https://platform.dev.timeback.com/rostering/1.0/orgs/{sourcedId}/config"
payload = { "config": {
"appStoreEnabled": True,
"consentManagementEnabled": True,
"privacyPolicyUrl": "<string>",
"timeZone": "<string>",
"consentAdminEmail": "jsmith@example.com",
"consentTemplateId": "<string>"
} }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
config: {
appStoreEnabled: true,
consentManagementEnabled: true,
privacyPolicyUrl: '<string>',
timeZone: '<string>',
consentAdminEmail: 'jsmith@example.com',
consentTemplateId: '<string>'
}
})
};
fetch('https://platform.dev.timeback.com/rostering/1.0/orgs/{sourcedId}/config', 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://platform.dev.timeback.com/rostering/1.0/orgs/{sourcedId}/config",
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([
'config' => [
'appStoreEnabled' => true,
'consentManagementEnabled' => true,
'privacyPolicyUrl' => '<string>',
'timeZone' => '<string>',
'consentAdminEmail' => 'jsmith@example.com',
'consentTemplateId' => '<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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 := "https://platform.dev.timeback.com/rostering/1.0/orgs/{sourcedId}/config"
payload := strings.NewReader("{\n \"config\": {\n \"appStoreEnabled\": true,\n \"consentManagementEnabled\": true,\n \"privacyPolicyUrl\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"consentAdminEmail\": \"jsmith@example.com\",\n \"consentTemplateId\": \"<string>\"\n }\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Bearer <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.put("https://platform.dev.timeback.com/rostering/1.0/orgs/{sourcedId}/config")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"config\": {\n \"appStoreEnabled\": true,\n \"consentManagementEnabled\": true,\n \"privacyPolicyUrl\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"consentAdminEmail\": \"jsmith@example.com\",\n \"consentTemplateId\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://platform.dev.timeback.com/rostering/1.0/orgs/{sourcedId}/config")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"config\": {\n \"appStoreEnabled\": true,\n \"consentManagementEnabled\": true,\n \"privacyPolicyUrl\": \"<string>\",\n \"timeZone\": \"<string>\",\n \"consentAdminEmail\": \"jsmith@example.com\",\n \"consentTemplateId\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_bodyAuthorizations
OAuth 2.0 client credentials flow. Contact timeback@trilogy.com to request credentials for your application.
Path Parameters
Unique identifier of the organization
Body
application/json
Map of config keys to values to upsert or delete (null to delete)
A flat map of config key → value. null deletes the row (reverts to inherited / default). Keys not present are untouched. Registered keys (above) use their declared types and are Zod-validated. Unregistered partner-defined keys are stored as plain text and must be string or null. Keys must be safe identifiers (1–255 chars, ^[A-Za-z_][A-Za-z0-9_-]*$); reserved JS prototype slots are rejected. Top-level arrays are rejected.
Show child attributes
Show child attributes
Response
Configuration updated successfully
⌘I