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

# Update an existing fabric

> Update the name or description of an existing fabric

<Note>Only the name and description of the fabric can be updated.</Note>


## OpenAPI

````yaml put /api/orchestration/fabric/{fabricId}
openapi: 3.0.3
info:
  title: Prophecy API - Fabrics
  description: API for managing Prophecy fabrics
  version: 1.0.0
servers: []
security: []
paths:
  /api/orchestration/fabric/{fabricId}:
    parameters:
      - name: fabricId
        in: path
        description: The unique ID of the fabric
        required: true
        schema:
          type: string
    put:
      tags:
        - Fabrics
      summary: Update an existing fabric
      description: Update the name or description of an existing fabric
      operationId: updateFabric
      parameters:
        - $ref: '#/components/parameters/X-AUTH-TOKEN'
      requestBody:
        description: >-
          Fabric object with updated fields. Only name and description can be
          modified.
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: The name of the fabric.
                description:
                  type: string
                  description: The description of the fabric.
            example:
              name: API_fabric_test_update
      responses:
        '200':
          description: Fabric updated successfully
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                  - data
                properties:
                  success:
                    type: boolean
                    description: Indicates the request was successful.
                    enum:
                      - true
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                        description: The unique identifier for the fabric.
                    description: Response data containing the fabric ID.
              example:
                success: true
                data:
                  id: '10740'
components:
  parameters:
    X-AUTH-TOKEN:
      name: X-AUTH-TOKEN
      in: header
      description: Prophecy authentication token. Required for all API requests.
      required: true
      schema:
        type: string

````