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

# Update Wallet Metadata

> Updates the metadata and/or UI visibility for a specific wallet owned by the authenticated user.



## OpenAPI

````yaml PATCH /api/v1/accounts/{account-id}/wallets/{wallet-id}/metadata
openapi: 3.1.0
info:
  title: Crown API & Webhooks
  version: 1.0.0
  description: >-
    Open API 3 docs for Crown API


    Webhook events that Crown will POST to your configured endpoint URL. All
    webhooks expect a 200 OK response. Payloads use kebab-case for all keys to
    match the Crown API conventions.
servers:
  - url: https://app.crown-brlv.com
    description: Production server
security: []
paths:
  /api/v1/accounts/{account-id}/wallets/{wallet-id}/metadata:
    patch:
      summary: Update wallet metadata
      description: >-
        Updates the metadata and/or UI visibility for a specific wallet owned by
        the authenticated user.
      parameters:
        - in: path
          name: account-id
          required: true
          schema:
            type: string
            format: uuid
        - in: path
          name: wallet-id
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                metadata:
                  oneOf:
                    - type: object
                      additionalProperties: {}
                    - type: 'null'
                  description: Custom metadata to associate with the wallet
                  example:
                    label: treasury
                ui-enabled:
                  type: boolean
                  description: Whether this wallet should be visible in the UI
                  example: true
              additionalProperties: false
      responses:
        '200':
          description: Wallet metadata updated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  wallet:
                    type: object
                    properties:
                      id:
                        type: string
                        format: uuid
                        description: Wallet ID
                        example: 019712cf-c86d-703f-85b8-bdaa4fc8d254
                      name:
                        type: string
                        description: Name of the wallet
                        example: My Trading Wallet
                      address:
                        type: string
                        description: Ethereum wallet address
                        example: '0x1234567890abcdef1234567890abcdef12345678'
                      ui-enabled:
                        type: boolean
                        description: Whether this wallet is visible in the UI
                        example: true
                      metadata:
                        oneOf:
                          - type: object
                            additionalProperties: {}
                          - type: 'null'
                        description: Custom metadata associated with this wallet
                        example:
                          label: treasury
                    additionalProperties: false
                    required:
                      - id
                      - name
                      - address
                      - ui-enabled
                additionalProperties: false
                required:
                  - wallet
        '400':
          description: Bad request - Invalid input parameters
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      type:
                        type: string
                      message:
                        type: string
                      code:
                        type: string
                    additionalProperties: false
                    required:
                      - type
                      - message
                      - code
                    description: Bad request error details
                additionalProperties: false
                required:
                  - error
        '403':
          description: Forbidden - Access denied
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      type:
                        type: string
                      message:
                        type: string
                      code:
                        type: string
                    additionalProperties: false
                    required:
                      - type
                      - message
                      - code
                    description: Forbidden access error details
                additionalProperties: false
                required:
                  - error
        '404':
          description: Not found - Resource does not exist
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      type:
                        type: string
                      message:
                        type: string
                      code:
                        type: string
                    additionalProperties: false
                    required:
                      - type
                      - message
                      - code
                    description: Resource not found error details
                additionalProperties: false
                required:
                  - error
        '422':
          description: Unprocessable entity - Validation failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      type:
                        type: string
                      message:
                        type: string
                      code:
                        type: string
                    additionalProperties: false
                    required:
                      - type
                      - message
                      - code
                    description: Validation error details
                additionalProperties: false
                required:
                  - error

````