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

# Update Collection Metadata

> Update the metadata (name and URI) of an existing Collection on the In•Process protocol.

Uses [CAIP-2](https://chainagnostic.org/CAIPs/caip-2) for the `network` segment and a CAIP-style asset reference for the `contract` segment:
- `network`: `eip155:{chainId}` (e.g. `eip155:8453` for Base)
- `contract`: `erc1155:{address}` (e.g. `erc1155:0xabc...`)

**Note:** Only Collection admins can update the metadata.



## OpenAPI

````yaml PATCH /collections/{network}/{contract}
openapi: 3.1.0
info:
  title: In•Process API
  description: >-
    The In•Process API enables browsing and managing moments from timelines.
    Retrieve moments from a specific artist's timeline, browse the in•process
    collective timeline, or filter by collection. The API supports creating
    moments, managing collections, handling payments, and interacting with the
    In•Process protocol ecosystem.
  version: 1.0.0
servers:
  - url: https://api.inprocess.world/api
    description: Production server
security: []
paths:
  /collections/{network}/{contract}:
    patch:
      summary: Update Collection Metadata
      description: >-
        Update the metadata (name and URI) of an existing Collection on the
        In•Process protocol.


        Uses [CAIP-2](https://chainagnostic.org/CAIPs/caip-2) for the `network`
        segment and a CAIP-style asset reference for the `contract` segment:

        - `network`: `eip155:{chainId}` (e.g. `eip155:8453` for Base)

        - `contract`: `erc1155:{address}` (e.g. `erc1155:0xabc...`)


        **Note:** Only Collection admins can update the metadata.
      operationId: updateCollectionURI
      parameters:
        - name: network
          in: path
          description: >-
            CAIP-2 chain reference in the format `eip155:{chainId}` (e.g.
            `eip155:8453` for Base mainnet)
          required: true
          schema:
            type: string
            example: eip155:8453
        - name: contract
          in: path
          description: >-
            CAIP-style asset reference in the format `erc1155:{address}` (e.g.
            `erc1155:0xabc...`)
          required: true
          schema:
            type: string
            example: erc1155:0x1234567890abcdef1234567890abcdef12345678
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateCollectionURIRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateCollectionURIResponse'
        '400':
          description: >-
            Bad request — invalid CAIP format, unsupported namespace, invalid
            address, or missing body fields
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized — missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - apiKeyAuth: []
components:
  schemas:
    UpdateCollectionURIRequest:
      type: object
      required:
        - newCollectionName
        - newUri
      properties:
        newCollectionName:
          type: string
          description: New name of the Collection
        newUri:
          type: string
          description: New metadata URI (e.g., Arweave URI)
    UpdateCollectionURIResponse:
      type: object
      required:
        - hash
        - chainId
      properties:
        hash:
          type: string
          description: Transaction hash of the update operation
        chainId:
          type: integer
          description: Chain ID where the transaction was executed
    Error:
      type: object
      required:
        - status
        - message
      properties:
        status:
          type: string
          enum:
            - error
          description: Error status
        message:
          type: string
          description: Error message
        errors:
          type: array
          description: >-
            Optional array of field-level validation errors. Typically included
            in 400 Bad Request responses for validation errors.
          items:
            type: object
            required:
              - field
              - message
            properties:
              field:
                type: string
                description: The field name that failed validation
              message:
                type: string
                description: The validation error message for this field
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Artist API key for authentication. Get your API key from
        https://inprocess.world/manage/api-keys

````