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

# Update Organization

`PUT /v1/organization`

## Request

- Base URL: `https://docs.grepr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.grepr.ai/v1/organization`
- Auth: one of:
  - API key in header `GREPR-API-KEY`
  - OpenID Connect (`https://grepr-prod.us.auth0.com/.well-known/openid-configuration`)

Update the organization to which the authenticated user belongs.

## Request body

- PublicUpdate
  - `accessConfig` AccessConfig
    - `autoSignupEnabled` boolean
  - `comments` string
  - `plan` Plan, required
    - `endDate` string, date-time, required
    - `planChangeRequest` PlanChangeRequest, required
      - `date` string, date-time, required
      - `type` 'TRIAL' | 'FREE' | 'INVOICE', required
    - `startDate` string, date-time, required
    - `type` 'TRIAL' | 'FREE' | 'INVOICE', required

## Response `200`

The updated organization.

- Read
  - `accessConfig` AccessConfig, required
    - `autoSignupEnabled` boolean
  - `constraints` ReadOrgConstraints, required
    - `maxAnthropicIntegrations` integer
    - `maxDataWarehouseIntegrations` integer
    - `maxDatadogApiKeysPerIntegration` integer
    - `maxDatadogIntegrations` integer
    - `maxGeminiIntegrations` integer
    - `maxGreprPipeIntegrations` integer
    - `maxLiteLlmIntegrations` integer
    - `maxMcpIntegrations` integer
    - `maxNewRelicIntegrations` integer
    - `maxOpenAiIntegrations` integer
    - `maxOtlpIntegrations` integer
    - `maxPipelines` integer
    - `maxPromotedAttributeColumns` integer
    - `maxPromotedTagColumns` integer
    - `maxPromotionPolicyEntriesPerList` integer
    - `maxS3DataWarehouseIntegrations` integer
    - `maxS3VectorIndexIntegrations` integer
    - `maxSplunkIntegrations` integer
    - `maxSumoIntegrations` integer
  - `featureFlags` string[]
  - `name` string, required
  - `plan` Plan, required
    - `endDate` string, date-time, required
    - `planChangeRequest` PlanChangeRequest, required
      - `date` string, date-time, required
      - `type` 'TRIAL' | 'FREE' | 'INVOICE', required
    - `startDate` string, date-time, required
    - `type` 'TRIAL' | 'FREE' | 'INVOICE', required
  - `ssoConnectionEnabled` boolean
  - `ssoRequestedAt` string, date-time

## Other responses

- `401`: Unauthorized
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/grepr/apis/grepr-api.md) - [All operations](https://skmtc.dev/grepr/apis/grepr-api/llms.txt) - [OpenAPI document](https://skmtc.dev/grepr/apis/grepr-api/revisions/2a5ce03a0bf0?raw)
