---
title: "Update organization"
method: PATCH
path: "/v1/organization"
tags: ["Organization"]
---

# Update organization

`PATCH /v1/organization`

Partially updates the authenticated organization. Only provided fields will be updated.

## Request body

- object
  - `name` string — Organization name
  - `slug` string — Organization slug
  - `logo` string — Organization logo URL
  - `metadata` string — Additional metadata in JSON format
  - `website` string — Organization website URL
  - `onboardingCompleted` boolean — Whether onboarding is completed
  - `hasAccess` boolean — Whether organization has access to the platform
  - `fleetDmLabelId` integer — FleetDM label ID for device management
  - `isFleetSetupCompleted` boolean — Whether FleetDM setup is completed
  - `primaryColor` string — Organization primary color in hex format
  - `advancedModeEnabled` boolean — Whether advanced mode is enabled for the organization
  - `backgroundCheckStepEnabled` boolean — Whether the background-check step is required during member onboarding. Set to false to turn off the "Require background checks" setting; true to require it.

## Response `200`

Organization updated successfully

- object
  - `id` string — The organization ID
  - `name` string — Organization name
  - `slug` string — Organization slug
  - `logo` string, nullable — Organization logo URL
  - `metadata` string, nullable — Additional metadata in JSON format
  - `website` string, nullable — Organization website URL
  - `onboardingCompleted` boolean — Whether onboarding is completed
  - `hasAccess` boolean — Whether organization has access to the platform
  - `fleetDmLabelId` integer, nullable — FleetDM label ID for device management
  - `isFleetSetupCompleted` boolean — Whether FleetDM setup is completed
  - `primaryColor` string, nullable — Organization primary color in hex format
  - `createdAt` string, date-time — When the organization was created
  - `authType` 'api-key' | 'session' — How the request was authenticated

## Other responses

- `400` — Bad Request - Invalid update data
- `401` — Unauthorized - Invalid authentication or insufficient permissions
- `404` — Organization not found

## Changes

- **2026-06-04** `d7d0199d846f` — 1 info
  - the endpoint scheme security `oauth2` was removed from the API
- **2026-05-29** `5382c53ab431` — 1 info
  - the endpoint scheme security `oauth2` was added to the API
- **2026-05-28** `7c0713bef5b1` — 2 info
  - added the new optional request property `advancedModeEnabled`
  - added the new optional request property `backgroundCheckStepEnabled`

[Change history](https://skmtc.dev/trycompai/apis/comp-ai-api/changes/v1/organization/patch.md)

---

[API](https://skmtc.dev/trycompai/apis/comp-ai-api.md) · [All operations](https://skmtc.dev/trycompai/apis/comp-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/trycompai/comp-ai-api/revisions/d7d0199d846f/schema)
