---
title: "Update organization"
method: PATCH
path: "/organizations/{id}"
tags: ["organizations"]
---

# Update organization

`PATCH /organizations/{id}`

Update organization

## Path parameters

- `id` string, id, required

## Request body

- object
  - `imageURL` string, omitempty,url
  - `name` string, custom-name
  - `settings` OrganizationSettingsInput
    - `autoApproveMoreRestrictiveIntentsByEnv` object[]
    - `defaultIntentsApprovalActionByEnv` object[]
    - `defaultInviteMembership` object
    - `domains` string[]
    - `enforcedRegulations` string[]
    - `ignoreInternetIntents` boolean
    - `ignoredCloudDomains` string[]

## Response `200`

Update organization

- Organization
  - `created` string, date-time, required
  - `id` string, required
  - `imageURL` string
  - `name` string, required
  - `settings` OrganizationSettings, required
    - `autoApproveMoreRestrictiveIntentsByEnv` AutoApproveMoreRestrictiveIntentsByEnv[], required
      - `enabled` boolean, required
      - `environmentId` string, required
    - `defaultIntentsApprovalActionByEnv` DefaultIntentsApprovalActionByEnv[], required
      - `action` 'AUTO_APPROVE' | 'AUTO_DENY' | 'REQUIRE_APPROVAL', required
      - `environmentId` string, required
    - `defaultInviteMembership` OrganizationMembership, required
      - `organizationId` string, required
      - `restrictions` OrganizationMembershipRestrictions
        - `clusterIds` IDFilterValue
          - `exclude` string[]
          - `include` string[]
        - `environmentIds` IDFilterValue
          - `exclude` string[]
          - `include` string[]
        - `namespaceIds` IDFilterValue
          - `exclude` string[]
          - `include` string[]
        - `serviceIds` IDFilterValue
          - `exclude` string[]
          - `include` string[]
      - `role` 'ADMIN' | 'VIEWER', required
    - `domains` string[]
    - `domainsDefaultRole` 'ADMIN' | 'VIEWER', required
    - `enforcedRegulations` string[]
    - `ignoreInternetIntents` boolean
    - `ignoredCloudDomains` string[]
  - `uniqueName` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `408` — Request Timeout
- `409` — Conflict
- `422` — Unprocessable Entity
- `500` — Internal Server Error
- `default`

## Changes

- **2026-07-17** `ec9167824493` — 4 info
  - added the new optional request property `settings/autoApproveMoreRestrictiveIntentsByEnv`
  - added the new optional request property `settings/defaultInviteMembership`
  - added the required property `settings/autoApproveMoreRestrictiveIntentsByEnv` to the response with the `200` status
  - added the required property `settings/defaultInviteMembership` to the response with the `200` status
- **2025-04-16** `6b4369907cb8` — 7 info
  - added the new optional request property `settings/defaultIntentsApprovalActionByEnv`
  - added the new optional request property `settings/ignoreInternetIntents`
  - added the non-success response with the status `408`
  - added the optional property `settings/ignoreInternetIntents` to the response with the `200` status
  - …3 more
- **2024-12-02** `aabf75d38bc6` — 2 info
  - added the new optional request property `settings/ignoredCloudDomains`
  - added the optional property `settings/ignoredCloudDomains` to the response with the `200` status
- **2024-10-21** `7aec65a7fcfd` — 4 info
  - added the new optional request property `settings`
  - the response property `name` became required for the status `200`
  - added the required property `created` to the response with the `200` status
  - added the required property `settings` to the response with the `200` status
- …earlier changes not shown

[Full history](https://skmtc.dev/otterize/apis/otterize-api-server/changes/organizations/:id/patch.md)

---

[API](https://skmtc.dev/otterize/apis/otterize-api-server.md) · [All operations](https://skmtc.dev/otterize/apis/otterize-api-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/otterize/otterize-api-server/revisions/ec9167824493/schema)
