v50

latestOpenAPI 3.0.0raw.githubusercontent.com2026-06-15367117899.6 KB
Organization

Update organization

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

patch/v1/organization

Request body

namestring

Organization name

slugstring

Organization slug

logostring

Organization logo URL

metadatastring

Additional metadata in JSON format

websitestring

Organization website URL

onboardingCompletedboolean

Whether onboarding is completed

hasAccessboolean

Whether organization has access to the platform

fleetDmLabelIdinteger

FleetDM label ID for device management

isFleetSetupCompletedboolean

Whether FleetDM setup is completed

primaryColorstring

Organization primary color in hex format

Example request

{
  "name": "New Acme Corporation",
  "slug": "new-acme-corp",
  "logo": "https://example.com/logo.png",
  "metadata": "{\"theme\": \"dark\", \"preferences\": {}}",
  "website": "https://acme-corp.com",
  "onboardingCompleted": true,
  "hasAccess": true,
  "fleetDmLabelId": 123,
  "primaryColor": "#3B82F6"
}

Response

Organization updated successfully

idstring

The organization ID

namestring

Organization name

slugstring

Organization slug

logostring nullable

Organization logo URL

metadatastring nullable

Additional metadata in JSON format

websitestring nullable

Organization website URL

onboardingCompletedboolean

Whether onboarding is completed

hasAccessboolean

Whether organization has access to the platform

fleetDmLabelIdinteger nullable

FleetDM label ID for device management

isFleetSetupCompletedboolean

Whether FleetDM setup is completed

primaryColorstring nullable

Organization primary color in hex format

createdAtstring date-time

When the organization was created

authType'api-key' | 'session'

How the request was authenticated

Example response

{
  "id": "org_abc123def456",
  "name": "New Acme Corporation",
  "slug": "new-acme-corp",
  "logo": "https://example.com/logo.png",
  "metadata": "{\"theme\": \"dark\", \"preferences\": {}}",
  "website": "https://acme-corp.com",
  "onboardingCompleted": true,
  "hasAccess": true,
  "fleetDmLabelId": 123,
  "primaryColor": "#3B82F6"
}