---
title: "PUT /api/v1/organizations/{organizationId}"
method: PUT
path: "/api/v1/organizations/{organizationId}"
tags: ["organization-controller"]
---

# PUT /api/v1/organizations/{organizationId}

`PUT /api/v1/organizations/{organizationId}`

## Path parameters

- `organizationId` string, required

## Request body

- OrganizationDto
  - `id` string
  - `name` string
  - `tenantName` string
  - `ownerDbName` string
  - `email` string
  - `website` string
  - `subdomain` string
  - `category` string
  - `mainCategory` string
  - `language` string
  - `contactNumber` string
  - `theme` string
  - `type` 'Shared' | 'Enterprise'
  - `model` string
  - `subscription` Subscription
    - `type` string
    - `hasRenewal` string
  - `sourceOrgId` string
  - `dateFormat` string
  - `currency` string
  - `organizationSettings` OrganizationSettings
    - `hostName` string
    - `outlookConfig` OutlookConfig
      - `graphClientId` string
      - `graphSecretKey` string
      - `graphTenantId` string
      - `graphClientState` string
      - `proxyHost` string
      - `proxyPort` integer
      - `proxyEnabled` boolean
      - `graphEnabled` boolean
    - `gmailConfig` GmailConfig
      - `gmailClientId` string
      - `gmailProjectId` string
      - `gmailAuthUri` string
      - `gmailTokenUri` string
      - `gmailAuthProviderX509CertUrl` string
      - `gmailClientSecret` string
      - `gmailRedirectUris` string[]
      - `gmailTopicName` string
      - `gmailEnabled` boolean
    - `chatGPTKey` string
    - `isUserBasedConsent` boolean
    - `idPProviderConfig` IdPProviderConfig
      - `azureAdConfig` AzureAdConfig
        - `applicationClientId` string
        - `applicationSecretKey` string
        - `applicationTenantId` string
    - `configs` object
  - `cloningStatus` string
  - `orgLogoUrl` string
  - `versionId` string
  - `onboardingStatus` string
  - `template` boolean

## Response `200`

OK

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/gosure/apis/gosure-api.md) · [All operations](https://skmtc.net/gosure/apis/gosure-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gosure/gosure-api/revisions/785f532b1250/schema)
