Authorization: Bearer <token>Content-Type: application/jsonX-Request-ID, optional Idempotency-Key for safe retriesPATCH /orgs/{orgId}/settings to change settings only.curl --location --request PUT 'http://localhost:3000/api/orgs//update' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Cognita Education Group",
"orgType": "education",
"billingAccountId": "cus_87654321xyz",
"settings": {
"timezone": "America/Los_Angeles",
"defaultLanguage": "en-US",
"complianceMode": "ferpa",
"recordingConsent": "required",
"aiSummaries": "enhanced",
"educationMode": true
},
"retentionPolicy": {
"transcripts": "730d",
"recordings": "365d",
"chatLogs": "365d",
"userData": "1825d",
"examData": "3650d"
},
"allowedDomains": [
"cognita.edu"
],
"featureFlags": {
"realTimeTranslation": true
}
}'{
"status": "ok",
"message": "Organization updated successfully",
"data": {
"name": "Cognita Education Group",
"orgType": "education",
"billingAccountId": "cus_87654321xyz",
"settings": {
"timezone": "America/Los_Angeles",
"defaultLanguage": "en-US",
"complianceMode": "ferpa",
"recordingConsent": "required",
"aiSummaries": "enhanced",
"educationMode": true
},
"retentionPolicy": {
"transcripts": "730d",
"recordings": "365d",
"chatLogs": "365d",
"userData": "1825d",
"examData": "3650d"
},
"allowedDomains": [
"cognita.edu"
],
"featureFlags": {
"realTimeTranslation": true
}
}
}