1. Org
Cognita
  • Introduction
  • Auth
    • register
      POST
    • login
      POST
    • callback
      GET
    • profile
      GET
    • verify email
      POST
    • refresh
      POST
    • logout
      POST
    • forgot password
      POST
    • reset password
      POST
    • request reset password
      POST
    • update-profile
      PATCH
  • Meetings
    • Transcripts
      • Retrieve transcripts for a meeting
    • upload init
    • Get meeting details
  • Transcription
    • live
    • Get Transcript segments
    • Create translation for transcript
  • Organization
    • Billing
      • Get Billing Details
      • Update Plan
    • Org
      • Create Organization
        POST
      • Get Organization
        GET
      • Get Organizations
        GET
      • update organization
        PUT
      • update settings
        PATCH
      • Delete Organization
        DELETE
      • get organization settings
        GET
      • Suspend
        POST
      • Resume
        POST
    • Retention
      • Set Retention Policy
      • Get Retention Policy
      • Update Retention Policy
    • Domains
      • Allowed Domains
      • Allowed Domains
      • Domain verfying
  • Workspaces
    • Org
      • Get Organization Workspaces
    • Workspace
      • Create Workspace
      • Get Workspace
      • Update Workspace
      • Delete Workspace
    • Users
      • Get Workspace Members
      • Delete Member from Workspace
    • Meetings
      • Start a meeting in workspace
  • configurations
    • feature-flags
    • configs
    • tenant-defaults
  • Schemas
    • Organization
      • OrganizationSettings
      • FeatureFlags
      • RetentionPolicy
      • Organization
      • CreateOrgRequestBody
    • Billing & Subscriptions
      • BillingAccount
      • SubscriptionEntitlements
      • SubscriptionPlan
      • Subscription
      • PaymentMethod
      • Invoice
      • UsageRecords
      • Bill
    • Roles & permissions
      • Permissions
    • Workspace
      • Workspaces
    • Meeting & Recordings
      • Meetings
    • Trascriptions & Summaries
    • Integrations
    • Notifications & Audit logs
    • AI Services
    • Localization
    • Auth & Users
      • user
      • AccessToken
    • ErrorResponse
    • SuccessResponse
    • DeviceInfo
    • Session
  1. Org

update organization

Developing
Develop Env
http://localhost:3000/api
Develop Env
http://localhost:3000/api
PUT
http://localhost:3000/api
/orgs/{orgId}/update
organization
Maintainer:Abdelrhman Moataz

Purpose#

Replace organization record (use with caution). Prefer PATCH for partial updates.

Auth / Scope#

org:write AND caller must be org admin or system:admin.

Headers#

Authorization: Bearer <token>
Content-Type: application/json
X-Request-ID, optional Idempotency-Key for safe retries

Notes#

This is a full replace. Use PATCH /orgs/{orgId}/settings to change settings only.
Server will write audit log entry for the update.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

🟠404Not Found
🟠403Forbidden
🔴500Server Error
🟠429Too Many Requests
Request Request Example
Shell
JavaScript
Java
Swift
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
    }
}'
Response Response Example
200 - Example 1
{
    "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
        }
    }
}
Modified at 2025-10-16 11:46:28
Previous
Get Organizations
Next
update settings
Built with