cURL
curl --request PATCH \ --url https://charts.basedash.com/api/public/organizations/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "customAiContext": "<string>", "skipOnboarding": true, "fullEmbedEnabled": true, "embedAllowedOrigins": [ "<string>" ] } '
{ "data": { "id": "<string>", "name": "<string>", "slug": "<string>", "customAiContext": "<string>", "onboardingStatus": "STARTED", "fullEmbedEnabled": true, "embedAllowedOrigins": [ "<string>" ] } }
Updates an existing organization. Requires admin access.
API key authentication using Bearer token format: Bearer bd_key_<secret>
Bearer bd_key_<secret>
Organization ID
Name of the organization
1
Custom context for AI features
Skip onboarding flow
Enable full embed functionality
Allowed origins for embedding
Organization updated successfully
Show child attributes
Was this page helpful?