---
title: "PUT /orgs/{id}"
method: PUT
path: "/orgs/{id}"
tags: ["orgs"]
---

# PUT /orgs/{id}

`PUT /orgs/{id}`

## Request

- Base URL: `https://api.axiom.co/v2`
- URL: `https://api.axiom.co/v2/orgs/{id}`
- Auth: OAuth 2
  - Authorization code: `https://accounts.google.com/o/oauth2/v2/auth`
  - Token URL: `https://www.googleapis.com/oauth2/v4/token`
- TypeScript: <https://skmtc.dev/axiom/apis/axiom-public-api/docs/orgs/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

Renames an organization and returns the updated organization. Requires a personal access token (PAT) of an owner of the organization.

## Path parameters

- `id` string, required

## Request body

- UpdateOrg
  - `name` string, required

## Response `200`

Updated organization.

- Org
  - `defaultEdgeDeployment` string
  - `firstFailedPayment` string
  - `id` string, required
  - `lastUsageSync` string, required
  - `license` License, required
    - `apiRateLimitPerSecond` integer, required
    - `billingPeriodEnd` string, date-time, required
    - `billingPeriodStart` string, date-time, required
    - `defaultEdgeDeployment` string, required
    - `edgeDeployments` string[], required
    - `expiresAt` string, date-time, nullable
    - `features` object, required
    - `id` string, required
    - `issuedAt` string, date-time, required
    - `issuedTo` string, required
    - `issuer` string, required
    - `maxAuditWindowSeconds` integer, required
    - `maxDatasets` integer, required
    - `maxEndpoints` integer, required
    - `maxFields` integer, required
    - `maxMonitors` integer, required
    - `maxQueryWindowSeconds` integer, required
    - `maxUsers` integer, required
    - `monthlyIngestGb` integer, required
    - `monthlyQueryGbHours` integer, required
    - `storageAllowanceGB` integer
    - `tier` 'personal' | 'teamMonthlyAws' | 'axiomCloud' | 'teamPlus' | 'enterprise' | 'comped' | 'accelerator', required
    - `validFrom` string, date-time, required
    - `withAuths` string[], required
  - `metaCreated` string
  - `metaModified` string
  - `metaVersion` string
  - `name` string, required
  - `paymentStatus` 'na' | 'failed' | 'success' | 'blocked', required
  - `plan` 'personal' | 'teamMonthlyAws' | 'axiomCloud' | 'teamPlus' | 'enterprise' | 'comped' | 'accelerator', required
  - `planCreated` string, required
  - `primaryEmail` string, required
  - `role` string

## Other responses

- `400`: Invalid name.
- `403`: The user isn't an owner of the organization.

## Changes

- **2026-10-16** (v2) `fbc1b8430feb`: 2 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `403`

[Operation history](https://skmtc.dev/axiom/apis/axiom-public-api/changes/orgs/:id/put.md)

---

[API](https://skmtc.dev/axiom/apis/axiom-public-api.md) - [All operations](https://skmtc.dev/axiom/apis/axiom-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/axiom/apis/axiom-public-api/revisions/7e39a295e3ba?raw)
