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

# Update Silo

> API endpoint to update silo.

> ⚠️ **Warning**
>
> * This update process does not happen in real-time. It's not suitable for scenarios where **multiple users attempt to update data simultaneously**.

<img className="rounded" height="200" src="https://mintcdn.com/jsonsilocom/2xDH3SPPsar-H96C/images/yes-usecase.png?fit=max&auto=format&n=2xDH3SPPsar-H96C&q=85&s=e7e624a2ac4fb8a4574abeced411c81d" data-path="images/yes-usecase.png" />

***

<img className="rounded" height="200" src="https://mintcdn.com/jsonsilocom/2xDH3SPPsar-H96C/images/no-usecase.png?fit=max&auto=format&n=2xDH3SPPsar-H96C&q=85&s=326fded620162cf1ff51898082216822" data-path="images/no-usecase.png" />


## OpenAPI

````yaml PATCH /api/v1/manage/{file_uuid}
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://api.jsonsilo.com
  - url: https://sg-01-api.jsonsilo.com
  - url: https://usc-01-api.jsonsilo.com
security: []
paths:
  /api/v1/manage/{file_uuid}:
    patch:
      tags:
        - Manage
      summary: Update Silo
      description: API endpoint to update silo.
      operationId: manage_update_jsonfile_data_api_v1_manage__file_uuid__patch
      parameters:
        - name: file_uuid
          in: path
          required: true
          schema:
            type: string
            title: File Uuid
            description: >-
              The Silo UUID, comprising 32 hexadecimal digits separated by 4
              hyphens, totaling 36 characters.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JsonFilesBase'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                properties:
                  file_name:
                    type: string
                    example: new db
                    description: >-
                      Silo name. The silo name will not affect development or
                      any sensitive aspects.
                  file_uuid:
                    type: string
                    format: uuid
                    description: >-
                      The Silo UUID, comprising 32 hexadecimal digits separated
                      by 4 hyphens, totaling 36 characters.
                  region_name:
                    type: string
                    example: api
                    description: The region where your data will be stored.
                  is_public:
                    type: boolean
                    example: false
                    description: >-
                      Silo access mode. If `true`, the silo is public; if
                      `false`, the silo is private.
                  file_data:
                    anyOf:
                      - items: {}
                        type: array
                      - type: object
                    description: >-
                      The data you want to store in the silo. It can be a JSON
                      object or an array of objects.
                    title: File Data
                  created_at:
                    type: string
                    format: date-time
                    example: '2024-12-07T12:52:28.094450+00:00'
                    description: The date and time the silo was created in `UTC`.
                  updated_at:
                    type: string
                    format: date-time
                    example: '2024-12-07T12:52:28.094450+00:00'
                    description: The date and time the silo was last updated in `UTC`.
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Forbidden'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFound'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - silo_api_key: []
components:
  schemas:
    JsonFilesBase:
      properties:
        file_name:
          type: string
          description: >-
            Choose a name for your silo that is easy to remember and understand.
            Rest assured, the silo name will not affect development or any
            sensitive aspects.
          title: File Name
        file_data:
          anyOf:
            - items: {}
              type: array
            - type: object
          description: >-
            The data you want to store in the silo. It can be a JSON `object` or
            an `array of objects`.
          title: File Data
        region_name:
          type: string
          title: Region Name
          enum:
            - api
            - sg-01-api
            - usc-01-api
          default: api
          description: >-
            Choose the region where you want to store your data. The default
            region is `api`.
        is_public:
          type: boolean
          title: Is Public
          default: false
          description: >-
            Silo access mode. If `true`, the silo is public; if `false`, the
            silo is private.
      type: object
      title: JsonFilesBase
    Forbidden:
      type: object
      properties:
        detail:
          type: string
          title: Detail
      title: Forbidden
    NotFound:
      type: object
      properties:
        detail:
          type: string
          title: Detail
      title: NotFound
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    silo_api_key:
      type: apiKey
      description: The JSONSilo Manage API Key
      in: header
      name: X-MAN-API

````