---
title: "PATCH Update organization details"
description: "Updates the details of the authenticated organization."
last_updated: "2026-05-06T07:33:50.141039+00:00"
canonical_url: "https://www.doc0.dev/docs/49c89830-117b-4def-8edc-b5bcc50766e0/api/organization/organizationcontroller-updateorganization"
---

<APIEndpoint
  method={"PATCH"}
  path={"/organization"}
  summary={"Update organization details"}
  description={"Updates the details of the authenticated organization."}
  deprecated={false}
  baseUrl={""}
/>

## Parameters

<APIParameters parameters={[{"name":"X-Organization-Id","in":"header","required":false,"description":"Organization ID (required for session auth, optional for API key auth)","schema":{"type":"string"}}]} />

## Request Body

Data to update the organization.

<APIRequestBody
  contentType={"application/json"}
  required={true}
  schema={{"type":"object"}}
/>

## Responses

<APIResponse
  statusCode={"200"}
  description={"Organization updated successfully."}
  contentType={"application/json"}
/>

<APIResponse
  statusCode={"400"}
  description={"Bad Request - Invalid input data."}
  contentType={"application/json"}
/>

<APIResponse
  statusCode={"401"}
  description={"Unauthorized - Authentication required."}
  contentType={"application/json"}
/>

<APIResponse
  statusCode={"404"}
  description={"Not Found - Organization not found."}
  contentType={"application/json"}
/>

## Try It

<APIPlayground
  method={"PATCH"}
  path={"/organization"}
  parameters={[{"name":"X-Organization-Id","in":"header","required":false,"description":"Organization ID (required for session auth, optional for API key auth)","schema":{"type":"string"}}]}
  requestBody={{"contentType":"application/json","required":true,"description":"Data to update the organization.","schema":{"type":"object"}}}
  baseUrl={""}
/>


## Sitemap

See the full [sitemap](https://www.doc0.dev/docs/49c89830-117b-4def-8edc-b5bcc50766e0/llms.txt) for all pages in this wiki.
