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

# Update

> Update an organization's name and/or slug. Slugs are lowercase letters, numbers and dashes, must be unique across the platform, and change the organization's dashboard URLs immediately.



## OpenAPI

````yaml /openapi.json patch /v1/orgs/{orgId}
openapi: 3.1.0
info:
  title: Korve API
  version: 0.1.0
  description: >-
    Typed control plane for deploying applications and explicitly provisioning
    their managed infrastructure.
servers:
  - url: https://api.korve.dev
security: []
paths:
  /v1/orgs/{orgId}:
    patch:
      tags:
        - orgs
      summary: Update
      description: >-
        Update an organization's name and/or slug. Slugs are lowercase letters,
        numbers and dashes, must be unique across the platform, and change the
        organization's dashboard URLs immediately.
      operationId: orgs.update
      parameters:
        - name: orgId
          in: path
          required: true
          schema:
            type: string
          description: The organization's id (UUID) or slug — either form is accepted.
      requestBody:
        required: true
        x-korve-max-bytes: 1048576
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: 1-100 characters.
                slug:
                  type: string
                  pattern: ^[a-z][a-z0-9-]{1,38}$
      responses:
        '200':
          description: Updated organization.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                  slug:
                    type: string
                  isPersonal:
                    type: boolean
                  billingStatus:
                    type: string
                    enum:
                      - unpaid
                      - active
                      - past_due
                      - canceled
                  createdAt:
                    type: string
                    format: date-time
                required:
                  - id
                  - name
                  - slug
                  - isPersonal
                  - billingStatus
        '409':
          description: Slug already in use.
        '422':
          description: Invalid name or slug.
      security:
        - session: []
components:
  securitySchemes:
    session:
      type: apiKey
      in: cookie
      name: korve.session_token

````