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

# Update organization name

> Updates the caller's active organization name in the database and WorkOS. Authorization and the target organization come from the caller's active organization context; the route `org_id` is not used by the handler. The caller must be an organization admin.



## OpenAPI

````yaml /api-reference/organizations.openapi.json patch /v1/organizations/{org_id}
openapi: 3.1.0
info:
  title: organizations
  description: ''
  license:
    name: ''
  version: 0.1.0
servers:
  - url: https://api.anthid.com
    description: Production
security: []
tags:
  - name: Organizations
    description: Organizations API
paths:
  /v1/organizations/{org_id}:
    patch:
      tags:
        - Organizations
      summary: Update organization name
      description: >-
        Updates the caller's active organization name in the database and
        WorkOS. Authorization and the target organization come from the caller's
        active organization context; the route `org_id` is not used by the
        handler. The caller must be an organization admin.
      operationId: updateOrganizationName
      parameters:
        - name: org_id
          in: path
          description: >-
            Internal organization id in the route. The operation applies to the
            caller's active organization context.
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        description: Organization name update payload
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateOrganizationNameRequest'
            example:
              name: Acme Trading
        required: true
      responses:
        '204':
          description: Organization name updated
        '400':
          description: Organization name is missing or invalid
          content:
            text/plain:
              schema:
                type: string
        '401':
          description: Missing or invalid authentication credentials
          content:
            text/plain:
              schema:
                type: string
        '403':
          description: >-
            Caller is not an organization admin or has no active organization
            context
          content:
            text/plain:
              schema:
                type: string
        '404':
          description: Active organization was not found
          content:
            text/plain:
              schema:
                type: string
        '429':
          description: Caller exceeded the request rate limit
          content:
            text/plain:
              schema:
                type: string
        '500':
          description: Unexpected server error while updating the organization
          content:
            text/plain:
              schema:
                type: string
      security:
        - bearerAuth: []
components:
  schemas:
    UpdateOrganizationNameRequest:
      type: object
      required:
        - name
      properties:
        name:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````