Suvash - Hi team, is there a better way to upda...
# dev-help
s
Hi team, is there a better way to update the link settings for a multi orgs? we were hoping https://thoughtspot.humanforce.com/#/develop/api/rest/playgroundV2_0?apiResourceId=http%2Fapi-endpoints%2Fsystem%2Fupdate-system-config would do the job but we couldn't find any documentation around what keys are acceptable in the request. The goal is to have a url dedicated to each org which would then point them to our app. For eg: https://test1.analytics.com , https://test2.analytics.com. the current setup is done via Primary org where each tenant gets a global redirect url to analytics.com only.
a
message has been deleted
s
Solution: Yes—there is a better-supported path than relying on
system/config-update
for this use case. Based on the REST docs,
updateSystemConfig
only accepts a generic
configuration
object, and the docs do not publish a key whitelist for redirect-link behavior. So your confusion is expected. I could not find this in the official ThoughtSpot documentation. For multi-Org URL/security behavior, use: -
POST /api/rest/2.0/system/security-settings/configure
-
cluster_preferences
for cluster-level values -
org_preferences
for Org-specific values (including
org_identifier
) - Currently documented Org-level keys are: -
cors_whitelisted_urls
-
non_embed_access
If your requirement is “each Org has its own customer-facing host” (for example
test1.analytics.com
,
test2.analytics.com
), this endpoint is the documented one for Org-scoped security preferences. For SAML redirect URLs, docs currently show this only under
cluster_preferences.saml_redirect_urls
(not Org-level). --- Suggestions: - Treat
system/config-update
as low-discoverability for typed keys; use
system/security-settings/configure
where schema is explicit. - If you need truly Org-specific redirect URL behavior for SAML/login callbacks (not just embed host/CORS behavior), that appears to be a product/tenant-architecture question—raise with ThoughtSpot Support/CSM since Org-level
saml_redirect_urls
is not documented. - Validate current state first with: -
GET /api/rest/2.0/system/config
(cluster config snapshot) - then apply
system/security-settings/configure
incrementally per Org. --- Docs: - REST API v2 overview: https://developers.thoughtspot.com/docs/rest-api-v2 - Security settings (cluster + Org preferences): https://developers.thoughtspot.com/docs/security-settings - API Playground (your cluster): https://thoughtspot.humanforce.com/#/develop/api/rest/playgroundV2_0
s
@Suvash above solution worked for you?
s
hi @Swarnika ^^ is not what I asked for. the above link I shared was only because there are no proper docs there and wanted to confirm the usage of it.
s
Ok, let me take a look at it then, will come back with some solution.
y
Hey @Suvash , you want to have a way through api's only? right? I think UI one you guys alaredy configured.
s
yes. Currently all the orgs will redirect to the url set in the primary org. we would have to manaully update the url for each org otherwise right?
y
Hey we don't have any public api's for link setting update. Can you raise feature request.