---
search:
  tags:
    - organizations
    - PUT
seo:
  description: >-
    Updates an existing organization by replacing all fields. This is a full…
    Reference for the PUT /organizations/{id} endpoint in the Leadtime Public
    API API.
sidebar:
  badge: PUT
  label: Update organization
title: Update organization
type: openapi-operation
---
Updates an existing organization by replacing all fields. This is a full update operation - all fields must be provided, even if you only want to change a few values.

**When to use:**
Use this endpoint when you want to update multiple fields or replace the entire organization data. For partial updates (changing only specific fields), use PATCH /organizations/:id instead.

**Required fields:**
All fields that are required for creation must be provided:
- name: Full company name
- type: Organization type
- color: Hex color code

**Optional fields:**
All other fields can be provided or omitted (will be set to null/undefined if omitted).

**Updating the logo:**
1. Call POST /api/public/workspace/upload to upload the new logo file
2. Use the returned file ID in the logoId field
3. To remove the logo, set logoId to null

**What is returned:**
The complete updated organization object with all fields and computed values.

**Note:** This endpoint requires the Organizations.edit permission. The organization must exist in your workspace and not be deleted.

<Operation source="api-reference" id="organizationscontroller-updateorganization" />
