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

# Archive an asset value update

> Archives an asset value update and reverses its ledger entry.



## OpenAPI

````yaml delete /v1/businesses/{businessId}/assets/value-updates/{valueUpdateId}
openapi: 3.0.1
info:
  title: API
  version: latest
servers: []
security:
  - BearerAuth: []
tags: []
externalDocs:
  url: /
paths:
  /v1/businesses/{businessId}/assets/value-updates/{valueUpdateId}:
    delete:
      tags: []
      summary: Archive an asset value update
      description: Archives an asset value update and reverses its ledger entry.
      operationId: business.assets.valueUpdates.valueUpdateId.delete
      parameters:
        - name: businessId
          in: path
          description: The UUID of the business.
          required: true
          schema:
            type: string
            format: uuid
        - name: valueUpdateId
          in: path
          required: true
          description: The UUID of the value update.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The archived asset value update.
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                properties:
                  data:
                    $ref: '#/components/schemas/ApiAssetValueUpdate'
components:
  schemas:
    ApiAssetValueUpdate:
      type: object
      description: >-
        A recorded change to an asset's value, such as depreciation,
        improvement, impairment, or revaluation.
      required:
        - id
        - business_id
        - asset_id
        - amount
        - update_type
        - date
        - transaction_tags
      properties:
        id:
          type: string
          format: uuid
          description: Unique identifier for the value update.
        business_id:
          type: string
          format: uuid
          description: ID of the business that owns the asset.
        external_id:
          type: string
          nullable: true
          description: Unique ID of the value update in your system for linking purposes.
        asset_id:
          type: string
          format: uuid
          description: ID of the asset this value update applies to.
        amount:
          type: integer
          format: int64
          description: Amount of the value change, in cents.
        update_type:
          $ref: '#/components/schemas/AssetValueUpdateType'
        date:
          type: string
          format: date-time
          description: Date of the value update.
        archived_at:
          type: string
          format: date-time
          nullable: true
          description: When the value update was archived, if applicable.
        memo:
          type: string
          nullable: true
          description: Internal note about the value update.
        metadata:
          type: object
          additionalProperties: true
          nullable: true
          description: >-
            Arbitrary JSON object you can attach for your own use. Layer stores
            and returns it unchanged.
        reference_number:
          type: string
          nullable: true
          description: Reference number for the value update.
        transaction_tags:
          type: array
          items:
            $ref: '#/components/schemas/ApiTag'
          description: Tags applied to this record.
    AssetValueUpdateType:
      type: string
      description: >-
        The kind of value change applied to an asset.
        `DEPRECIATION_AMORTIZATION`, `IMPAIRMENT`, and `REVALUATION_DOWN`
        decrease the asset's carrying value; `IMPROVEMENT` and `REVALUATION_UP`
        increase it. `DEPRECIATION_AMORTIZATION` requires the asset to have an
        `accumulated_depreciation_account` configured.
      enum:
        - DEPRECIATION_AMORTIZATION
        - IMPROVEMENT
        - IMPAIRMENT
        - REVALUATION_UP
        - REVALUATION_DOWN
    ApiTag:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: ID for the tag.
        key:
          type: string
          description: Key for the tag.
          example: ExampleTagKey
        dimension_display_name:
          type: string
          nullable: true
          description: Display name for the tag dimension.
        value:
          type: string
          description: Value for the tag.
          example: ExampleTagValue
        value_display_name:
          type: string
          nullable: true
          description: Display name for the tag value definition.
        dimension_id:
          type: string
          format: uuid
          description: ID of the tag dimension this tag belongs to.
        definition_id:
          type: string
          format: uuid
          description: ID of the tag value definition.
        archived_at:
          type: string
          format: date-time
          nullable: true
          description: When the tag was archived.
      required:
        - id
        - key
        - value
        - dimension_id
        - definition_id
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````