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

# Update an Asset Type

> Update an asset type



## OpenAPI

````yaml /api/openapi.yaml patch /v1/asset_types/{assetTypeId}
openapi: 3.0.3
info:
  title: Documentation Service API
  description: API documentation for Documentation Service
  version: 1.0.0
servers:
  - url: https://api.us.lexful.app
    description: US pod
security:
  - bearerAuth: []
paths:
  /v1/asset_types/{assetTypeId}:
    patch:
      tags:
        - Asset Types
      summary: Update an Asset Type
      description: Update an asset type
      parameters:
        - in: header
          name: X-Account-ID
          required: true
          schema:
            type: string
            format: uuid
          description: Account ID
        - schema:
            type: string
            format: uuid
          in: path
          name: assetTypeId
          required: true
          description: Asset type ID
      requestBody:
        $ref: '#/components/requestBodies/patch_v1_asset_types__assetTypeId__request'
      responses:
        '200':
          $ref: '#/components/responses/UpdateAssetTypeResponse'
        '400':
          $ref: '#/components/responses/BadRequestResponse'
        '403':
          $ref: '#/components/responses/ForbiddenResponse'
        '404':
          $ref: '#/components/responses/NotFoundResponse'
        '500':
          $ref: '#/components/responses/InternalServerErrorResponse'
components:
  requestBodies:
    patch_v1_asset_types__assetTypeId__request:
      required: true
      content:
        application/json:
          schema:
            $ref: >-
              #/components/schemas/patch_v1_asset_types__assetTypeId__request_application_json
          example:
            display_name: Secure Projects - Enhanced
            description: >-
              Project management with enhanced security features and compliance
              tracking
            properties:
              - name: project_name
                type: string
                display_name: Project Name
                description: Name of the project
                required: true
              - name: budget
                type: number
                display_name: Budget
                description: Project budget in dollars
                required: false
              - name: compliance_level
                type: string
                display_name: Compliance Level
                description: Required compliance level
                required: false
                enum:
                  - Standard
                  - High
                  - Critical
  responses:
    UpdateAssetTypeResponse:
      description: Default Response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/UpdateAssetTypeResponse_application_json'
          example:
            id: 019983a9-c4bf-77da-a35b-5eb177b7b859
            account_id: 019983a9-c4bf-77da-a35b-5eb177b7b859
            name: system.contact
            display_name: Contacts
            description: Contacts are people and identities associated with an organization
            is_system: true
            properties:
              - name: first_name
                type: string
                display_name: First Name
                required: false
              - name: last_name
                type: string
                display_name: Last Name
                required: false
              - name: title
                type: string
                display_name: Title
                required: false
              - name: important
                type: boolean
                display_name: Important
                required: true
              - name: contact_type
                type: string
                display_name: Contact Type
                required: false
                enum:
                  - Approver
                  - Champion
                  - Decision Maker
                  - End User
                  - Evaluator
                  - Influencer
                  - Owner
                  - Other
              - name: contact_methods
                type: array
                display_name: Contact Methods
                required: false
                array:
                  type: object
                  properties:
                    - name: type
                      type: string
                      display_name: Contact Method Type
                      required: true
                      enum:
                        - Phone
                        - Fax
                        - Mobile
                        - Email
                        - Website
                        - Twitter
                        - LinkedIn
                        - Other
                    - name: value
                      type: string
                      display_name: Contact Method Value
                      required: true
              - name: preferred_contact_method
                type: string
                display_name: Preferred Contact Method
                required: false
                enum:
                  - Phone
                  - Fax
                  - Mobile
                  - Email
                  - Website
                  - Twitter
                  - LinkedIn
                  - Other
              - name: notes
                type: richtext
                display_name: Notes
                required: false
            references:
              - name: location
                display_name: Location
                required: false
                multiple: false
                target_asset_types:
                  - system.location
            version: 1
            created_at: '2024-01-15T10:30:00.000Z'
            updated_at: '2024-01-15T10:30:00.000Z'
            created_by: 019983a9-c4c0-73af-aec9-463feeadc2e7
            updated_by: 019983a9-c4c0-73af-aec9-463feeadc2e7
    BadRequestResponse:
      description: Bad request - validation error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    ForbiddenResponse:
      description: Forbidden - insufficient permissions
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFoundResponse:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalServerErrorResponse:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    patch_v1_asset_types__assetTypeId__request_application_json:
      type: object
      properties:
        display_name:
          type: string
          minLength: 1
          maxLength: 255
          description: Display name
        description:
          type: string
          maxLength: 1000
          description: Asset type description
        properties:
          type: array
          items:
            $ref: >-
              #/components/schemas/patch_v1_asset_types__assetTypeId__request_application_json_properties_items
          description: Asset type properties
        references:
          type: array
          items:
            $ref: >-
              #/components/schemas/patch_v1_asset_types__assetTypeId__request_application_json_references_items
          description: Asset type references
        sort_order:
          type: integer
          nullable: true
          minimum: 0
          maximum: 2147483647
          description: Account-local display order within the category.
        category_id:
          type: string
          nullable: true
          format: uuid
          description: >-
            Category assignment for the current account. Null clears it;
            omission preserves it.
        attachments_disabled:
          type: boolean
          description: Whether file attachments are disabled for assets of this type
        content_property:
          type: string
          description: >-
            Name of the property rendered as the asset body. Must be a declared
            property of type 'file', 'richtext' or 'richtext_large'.
        ui_config:
          $ref: >-
            #/components/schemas/patch_v1_asset_types__assetTypeId__request_application_json_ui_config
    UpdateAssetTypeResponse_application_json:
      type: object
      properties:
        deleted_at:
          type: string
          nullable: true
          format: date-time
        id:
          type: string
          format: uuid
          description: Asset type unique identifier
        account_id:
          type: string
          format: uuid
          description: Account ID
        name:
          type: string
          description: Asset type name (unique, used in URLs)
        display_name:
          type: string
          description: Display name for UI
        description:
          type: string
          description: Asset type description
        is_system:
          type: boolean
          description: Whether this is a system asset type
        properties:
          type: array
          items:
            $ref: >-
              #/components/schemas/UpdateAssetTypeResponse_application_json_properties_items
          description: Asset type properties
        references:
          type: array
          items:
            $ref: >-
              #/components/schemas/UpdateAssetTypeResponse_application_json_references_items
          description: Asset type references
        sort_order:
          type: integer
          nullable: true
          minimum: 0
          maximum: 2147483647
          description: Account-local display order within the category.
        category_id:
          type: string
          nullable: true
          format: uuid
          description: >-
            Category assignment for the current account. Null clears it;
            omission preserves it.
        attachments_disabled:
          type: boolean
          description: Whether file attachments are disabled for assets of this type
        content_property:
          type: string
          description: >-
            Name of the property rendered as the asset body. Must be a declared
            property of type 'file', 'richtext' or 'richtext_large'.
        ui_config:
          $ref: >-
            #/components/schemas/UpdateAssetTypeResponse_application_json_ui_config
        version:
          type: number
          description: Asset type version
        created_at:
          type: string
          format: date-time
          description: Creation timestamp
        updated_at:
          type: string
          format: date-time
          description: Last update timestamp
        created_by:
          type: string
          description: User ID who created
        updated_by:
          type: string
          description: User ID who last updated
      required:
        - id
        - name
        - display_name
        - is_system
        - properties
        - version
    ErrorResponse:
      description: Bad request - validation error
      type: object
      properties:
        status:
          type: number
          description: HTTP status code
        message:
          type: string
          description: Error message
        error_id:
          type: string
          description: Unique error identifier
        error_code:
          type: string
          description: Error code
        developer_message:
          type: string
          description: Additional details for developers
    patch_v1_asset_types__assetTypeId__request_application_json_properties_items:
      type: object
      properties:
        name:
          type: string
          description: Property name
        type:
          type: string
          enum:
            - string
            - number
            - integer
            - boolean
            - array
            - secret
            - totp
            - file
            - date
            - datetime
            - richtext
            - richtext_large
          description: Property type
        display_name:
          type: string
          description: Display name for UI
        description:
          type: string
          description: Property description
        required:
          type: boolean
          description: Whether this property is required
        enum:
          type: array
          items:
            anyOf:
              - type: string
              - type: number
              - type: boolean
          description: Allowed values for this property
        array:
          $ref: >-
            #/components/schemas/patch_v1_asset_types__assetTypeId__request_application_json_properties_items_array
        file_rules:
          $ref: >-
            #/components/schemas/patch_v1_asset_types__assetTypeId__request_application_json_properties_items_file_rules
        monitors:
          type: array
          description: Monitors targeting this property (only present when expand=monitors)
          items:
            $ref: >-
              #/components/schemas/patch_v1_asset_types__assetTypeId__request_application_json_properties_items_monitors_items
      required:
        - name
        - type
        - display_name
        - required
    patch_v1_asset_types__assetTypeId__request_application_json_references_items:
      type: object
      properties:
        name:
          type: string
          description: Reference name
        display_name:
          type: string
          description: Display name for UI
        description:
          type: string
          description: Reference description
        required:
          type: boolean
          description: Whether this reference is required
        multiple:
          type: boolean
          description: Whether multiple references are allowed
        target_asset_types:
          type: array
          items:
            type: string
          description: Target asset type names
      required:
        - name
        - display_name
        - required
        - multiple
    patch_v1_asset_types__assetTypeId__request_application_json_ui_config:
      type: object
      description: >-
        UI rendering hints for the asset/entity type. On update, keys are
        merged: an omitted key is left untouched, an explicit null clears it.
      properties:
        icon:
          type: string
          nullable: true
          maxLength: 64
          description: Lucide icon name
        password_reveal_enabled:
          type: boolean
          nullable: true
          description: >-
            Show password reveal controls. Defaults off; does not change
            secure-value authorization.
        folder_view_enabled:
          type: boolean
          nullable: true
          description: >-
            Offer tag folders for this asset type. When unset, Documents
            defaults on and other types default off. Does not change access or
            tagging permissions.
        hidden_columns:
          type: array
          nullable: true
          items:
            type: string
          maxItems: 200
          description: >-
            Deprecated: legacy per-account column visibility; column state now
            persists per-user in the browser. Retained so existing data
            round-trips.
        list_column_order:
          type: array
          nullable: true
          items:
            type: string
          maxItems: 200
          description: Default column order for list views, as field keys.
        list_hidden_columns:
          type: array
          nullable: true
          items:
            type: string
          maxItems: 200
          description: Field keys hidden by default in list views.
        overview_fields:
          type: array
          nullable: true
          items:
            type: string
          uniqueItems: true
          maxItems: 200
          description: >-
            Fields shown in the overview, ordered by detail_layout. References
            use references.<name>.
        detail_layout:
          type: array
          nullable: true
          maxItems: 200
          description: >-
            Ordered layout tree for detail/edit views. Each item is a field
            reference or a (nestable) group; item order defines the rendered
            order, and fields interleave with groups at each level.
          items:
            $ref: '#/components/schemas/uiLayoutItem'
      additionalProperties: false
    UpdateAssetTypeResponse_application_json_properties_items:
      type: object
      properties:
        name:
          type: string
          description: Property name
        type:
          type: string
          enum:
            - string
            - number
            - integer
            - boolean
            - array
            - secret
            - totp
            - file
            - date
            - datetime
            - richtext
            - richtext_large
          description: Property type
        display_name:
          type: string
          description: Display name for UI
        description:
          type: string
          description: Property description
        required:
          type: boolean
          description: Whether this property is required
        enum:
          type: array
          items:
            anyOf:
              - type: string
              - type: number
              - type: boolean
          description: Allowed values for this property
        array:
          $ref: >-
            #/components/schemas/UpdateAssetTypeResponse_application_json_properties_items_array
        file_rules:
          $ref: >-
            #/components/schemas/UpdateAssetTypeResponse_application_json_properties_items_file_rules
        monitors:
          type: array
          description: Monitors targeting this property (only present when expand=monitors)
          items:
            $ref: >-
              #/components/schemas/UpdateAssetTypeResponse_application_json_properties_items_monitors_items
      required:
        - name
        - type
        - display_name
        - required
    UpdateAssetTypeResponse_application_json_references_items:
      type: object
      properties:
        name:
          type: string
          description: Reference name
        display_name:
          type: string
          description: Display name for UI
        description:
          type: string
          description: Reference description
        required:
          type: boolean
          description: Whether this reference is required
        multiple:
          type: boolean
          description: Whether multiple references are allowed
        target_asset_types:
          type: array
          items:
            type: string
          description: Target asset type names
      required:
        - name
        - display_name
        - required
        - multiple
    UpdateAssetTypeResponse_application_json_ui_config:
      type: object
      description: >-
        UI rendering hints for the asset/entity type. On update, keys are
        merged: an omitted key is left untouched, an explicit null clears it.
      properties:
        icon:
          type: string
          nullable: true
          maxLength: 64
          description: Lucide icon name
        password_reveal_enabled:
          type: boolean
          nullable: true
          description: >-
            Show password reveal controls. Defaults off; does not change
            secure-value authorization.
        folder_view_enabled:
          type: boolean
          nullable: true
          description: >-
            Offer tag folders for this asset type. When unset, Documents
            defaults on and other types default off. Does not change access or
            tagging permissions.
        hidden_columns:
          type: array
          nullable: true
          items:
            type: string
          maxItems: 200
          description: >-
            Deprecated: legacy per-account column visibility; column state now
            persists per-user in the browser. Retained so existing data
            round-trips.
        list_column_order:
          type: array
          nullable: true
          items:
            type: string
          maxItems: 200
          description: Default column order for list views, as field keys.
        list_hidden_columns:
          type: array
          nullable: true
          items:
            type: string
          maxItems: 200
          description: Field keys hidden by default in list views.
        overview_fields:
          type: array
          nullable: true
          items:
            type: string
          uniqueItems: true
          maxItems: 200
          description: >-
            Fields shown in the overview, ordered by detail_layout. References
            use references.<name>.
        detail_layout:
          type: array
          nullable: true
          maxItems: 200
          description: >-
            Ordered layout tree for detail/edit views. Each item is a field
            reference or a (nestable) group; item order defines the rendered
            order, and fields interleave with groups at each level.
          items:
            $ref: '#/components/schemas/uiLayoutItem'
      additionalProperties: false
    patch_v1_asset_types__assetTypeId__request_application_json_properties_items_array:
      type: object
      properties:
        type:
          type: string
          enum:
            - string
            - number
            - integer
            - boolean
            - object
          description: Array item type
        properties:
          type: array
          items:
            $ref: >-
              #/components/schemas/patch_v1_asset_types__assetTypeId__request_application_json_properties_items_array_properties_items
          description: Properties for object array items
      description: Array item configuration
    patch_v1_asset_types__assetTypeId__request_application_json_properties_items_file_rules:
      type: object
      properties:
        max_size:
          type: number
          description: Maximum file size in bytes
        allowed_extensions:
          type: array
          items:
            type: string
          description: Allowed file extensions (e.g., [".pdf", ".jpg"])
        allowed_mime_types:
          type: array
          items:
            type: string
          description: Allowed MIME types (e.g., ["application/pdf", "image/jpeg"])
      description: File validation rules
    patch_v1_asset_types__assetTypeId__request_application_json_properties_items_monitors_items:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Monitor ID
        name:
          type: string
          description: Monitor name
        kind:
          type: string
          description: Monitor kind
        enabled:
          type: boolean
          description: Whether the monitor is active
        config:
          type: object
          nullable: true
          additionalProperties: true
          description: Monitor configuration
      required:
        - id
        - name
        - kind
        - enabled
    uiLayoutItem:
      oneOf:
        - type: object
          properties:
            item:
              type: string
              maxLength: 128
              description: >-
                A property or system-column key, or a reference as
                references.<name>
          required:
            - item
          additionalProperties: false
        - type: object
          properties:
            label:
              type: string
              maxLength: 128
              description: Section header; omit for an untitled group
            items:
              type: array
              maxItems: 200
              items:
                $ref: '#/components/schemas/uiLayoutItem'
          required:
            - items
          additionalProperties: false
    UpdateAssetTypeResponse_application_json_properties_items_array:
      type: object
      properties:
        type:
          type: string
          enum:
            - string
            - number
            - integer
            - boolean
            - object
          description: Array item type
        properties:
          type: array
          items:
            $ref: >-
              #/components/schemas/UpdateAssetTypeResponse_application_json_properties_items_array_properties_items
          description: Properties for object array items
      description: Array item configuration
    UpdateAssetTypeResponse_application_json_properties_items_file_rules:
      type: object
      properties:
        max_size:
          type: number
          description: Maximum file size in bytes
        allowed_extensions:
          type: array
          items:
            type: string
          description: Allowed file extensions (e.g., [".pdf", ".jpg"])
        allowed_mime_types:
          type: array
          items:
            type: string
          description: Allowed MIME types (e.g., ["application/pdf", "image/jpeg"])
      description: File validation rules
    UpdateAssetTypeResponse_application_json_properties_items_monitors_items:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Monitor ID
        name:
          type: string
          description: Monitor name
        kind:
          type: string
          description: Monitor kind
        enabled:
          type: boolean
          description: Whether the monitor is active
        config:
          type: object
          nullable: true
          additionalProperties: true
          description: Monitor configuration
      required:
        - id
        - name
        - kind
        - enabled
    patch_v1_asset_types__assetTypeId__request_application_json_properties_items_array_properties_items:
      type: object
      properties:
        name:
          type: string
          description: Property name
        type:
          type: string
          enum:
            - string
            - number
            - integer
            - boolean
          description: Property type
        description:
          type: string
          description: Property description
        required:
          type: boolean
          description: Whether this property is required
        enum:
          type: array
          items:
            anyOf:
              - type: string
              - type: number
              - type: boolean
          description: Allowed values
      required:
        - name
        - type
        - required
    UpdateAssetTypeResponse_application_json_properties_items_array_properties_items:
      type: object
      properties:
        name:
          type: string
          description: Property name
        type:
          type: string
          enum:
            - string
            - number
            - integer
            - boolean
          description: Property type
        description:
          type: string
          description: Property description
        required:
          type: boolean
          description: Whether this property is required
        enum:
          type: array
          items:
            anyOf:
              - type: string
              - type: number
              - type: boolean
          description: Allowed values
      required:
        - name
        - type
        - required
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Bearer token

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.