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

# Update a workspace



## OpenAPI

````yaml https://raw.githubusercontent.com/webhookx-io/webhookx/refs/heads/main/openapi.yml put /workspaces/{id}
openapi: 3.0.3
info:
  title: WebhookX Admin API
  contact:
    name: WebhookX
    url: https://github.com/webhookx-io/webhookx
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  version: 1.0.1
servers:
  - url: http://localhost:9601
security: []
paths:
  /workspaces/{id}:
    put:
      tags:
        - Workspace
      summary: Update a workspace
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Workspace'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Workspace'
components:
  schemas:
    Workspace:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
          nullable: true
        description:
          type: string
          nullable: true
        metadata:
          $ref: '#/components/schemas/Metadata'
        created_at:
          type: integer
          readOnly: true
        updated_at:
          type: integer
          readOnly: true
    Metadata:
      type: object
      additionalProperties:
        type: string
      default: {}

````