> ## Documentation Index
> Fetch the complete documentation index at: https://mako-docs.devinagiffy.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Organization

> Update organization settings

<Note>This endpoint requires Admin role.</Note>

## Path Parameters

<ParamField path="id" type="string" required>
  Organization UUID
</ParamField>

## Request

<ParamField body="name" type="string">
  New organization name
</ParamField>

<ParamField body="preferences" type="object">
  Organization preferences
</ParamField>

## Response

Returns the updated organization.

<RequestExample>
  ```bash cURL theme={null}
  curl -X PATCH "https://api.hitler.app/api/organizations/org-uuid-123" \
    -H "Authorization: Bearer YOUR_TOKEN" \
    -H "Content-Type: application/json" \
    -d '{
      "preferences": {
        "timezone": "Europe/London"
      }
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": "org-uuid-123",
    "name": "Acme Corporation",
    "slug": "acme-corp",
    "onboardingState": "complete",
    "preferences": {
      "timezone": "Europe/London",
      "checkInTime": "09:00"
    }
  }
  ```
</ResponseExample>
