---
title: "Modify an organization. Update operations are protected against concurrent modifications of the resource. They are required to provide the last version of the `etag` field as part of the update request payload. $hide_from_docs"
method: PUT
path: "/v2/organizations/{organization}"
tags: ["Organizations"]
---

# Modify an organization. Update operations are protected against concurrent modifications of the resource. They are required to provide the last version of the \`etag\` field as part of the update request payload. $hide_from_docs

`PUT /v2/organizations/{organization}`

## Request

- Base URL: `https://docs.tetrate.io` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.tetrate.io/v2/organizations/{organization}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/tetrate/apis/tetrate-service-bridge-api/docs/v2/organizations/:organization/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `organization` string, required

## Request body

- object: `Organization` is the root of the Service Bridge object hierarchy.
  - `configGenerationMetadata` V2ConfigGenerationMetadata: `ConfigGenerationMetadata` allows to setup extra metadata that will be added in the final Istio generated configurations. Like new labels or annotations. Defining the config generation metadata in tenancy resources (like organization, tenant, workspace or groups) works as default values for those configs that belong to it. Defining same config generation metadata in configuration resources (like ingress gateways, service routes, etc.) will replace the ones defined in the tenancy resources.
    - `labels` object: Set of key value paris that will be added into the `metadata.labels` field of the Istio generated configurations.
    - `annotations` object: Set of key value paris that will be added into the `metadata.annotations` field of the Istio generated configurations.
  - `deletionProtectionEnabled` boolean: When set, prevents the resource from being deleted. In order to delete the resource this property needs to be set to `false` first.
  - `description` string
  - `displayName` string
  - `etag` string

## Response `200`

A successful response.

- V2Organization: `Organization` is the root of the Service Bridge object hierarchy.
  - `fqn` string
  - `displayName` string
  - `etag` string
  - `description` string
  - `deletionProtectionEnabled` boolean: When set, prevents the resource from being deleted. In order to delete the resource this property needs to be set to `false` first.
  - `configGenerationMetadata` V2ConfigGenerationMetadata: `ConfigGenerationMetadata` allows to setup extra metadata that will be added in the final Istio generated configurations. Like new labels or annotations. Defining the config generation metadata in tenancy resources (like organization, tenant, workspace or groups) works as default values for those configs that belong to it. Defining same config generation metadata in configuration resources (like ingress gateways, service routes, etc.) will replace the ones defined in the tenancy resources.
    - `labels` object: Set of key value paris that will be added into the `metadata.labels` field of the Istio generated configurations.
    - `annotations` object: Set of key value paris that will be added into the `metadata.annotations` field of the Istio generated configurations.

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/tetrate/apis/tetrate-service-bridge-api.md) - [All operations](https://skmtc.dev/tetrate/apis/tetrate-service-bridge-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tetrate/apis/tetrate-service-bridge-api/revisions/2f19c3a1ae57?raw)
