---
title: "PUT /public/confluent/v1/confluent-organization"
method: PUT
path: "/public/confluent/v1/confluent-organization"
tags: ["cli_confluent-organization_confluent_v1_26"]
---

# PUT /public/confluent/v1/confluent-organization

`PUT /public/confluent/v1/confluent-organization`

## Request

- Base URL: `https://developers.conduktor.io` (the document declares no server; this is the origin it was published from)
- URL: `https://developers.conduktor.io/public/confluent/v1/confluent-organization`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/conduktor/apis/conduktor-console-api/docs/public/confluent/v1/confluent-organization/put.ts> (a function with typed inputs; its response is checked against the schema)

Create or update a ConfluentOrganization

## Query parameters

- `dryMode` boolean

## Request body

- ConfluentOrganizationResourceV1
  - `apiVersion` string, required
  - `kind` 'ConfluentOrganization', required
  - `metadata` ConfluentOrganizationMetadata, required
    - `name` string, required
    - `labels` MapLabelKeyString
  - `spec` ConfluentOrganizationSpec, required
    - `displayName` string, required
    - `apiKey` string, required
    - `apiSecret` string

## Response `200`

- ConfluentOrganizationApplyResultV1
  - `resource` ConfluentOrganizationResourceV1, required
    - `apiVersion` string, required
    - `kind` 'ConfluentOrganization', required
    - `metadata` ConfluentOrganizationMetadata, required
      - `name` string, required
      - `labels` MapLabelKeyString
    - `spec` ConfluentOrganizationSpec, required
      - `displayName` string, required
      - `apiKey` string, required
      - `apiSecret` string
  - `upsertResult` 'Created' | 'Updated' | 'NotChanged', required

## Other responses

- `400`: The request is not valid
- `401`: The user is not authenticated
- `403`: The user doesn't have sufficient privilege to do this operation
- `404`: No confluent-organization with this technical id exists
- `409`: The request does not match one of the business rules
- `500`: An unexpected error occurred in the server

---

[API](https://skmtc.dev/conduktor/apis/conduktor-console-api.md) - [All operations](https://skmtc.dev/conduktor/apis/conduktor-console-api/llms.txt) - [OpenAPI document](https://skmtc.dev/conduktor/apis/conduktor-console-api/revisions/24750c294805?raw)
