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

# Update an entry

> Changes an entry's label or expiry date — `expiresOn` is the last day rules count it, and null keeps it indefinitely. The value itself never changes; remove the entry and add the new value.



## OpenAPI

````yaml /openapi/transaction-monitoring.json patch /api/v1/reference-lists/{entry_id}/
openapi: 3.0.3
info:
  title: iDenfy Transaction Monitoring API
  version: v1
  description: >-
    Submit transactions and events for AML monitoring, and read back the alerts,
    cases and reports they produce.
servers:
  - url: https://ivs-tx-monitoring.idenfy.com
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Ingest
    description: Submit transactions and events for monitoring.
  - name: Transactions
    description: Read back submitted transactions and their rule hits.
  - name: Rules
    description: Detection rules evaluated against every submission.
  - name: Alerts
    description: Alerts opened when a rule matches.
  - name: Investigations
    description: Cases opened from one or more alerts.
  - name: SARs
    description: Suspicious activity reports and their attachments.
  - name: Sanctions screening
    description: Sanctions and PEP screening of transaction parties.
  - name: AML monitoring
    description: Ongoing AML monitoring of screened parties.
  - name: Party suspensions
    description: ''
  - name: Webhooks
    description: Outbound event delivery to your endpoints.
  - name: Custom fields
    description: Your own transaction attributes, declared so rules can match them.
  - name: Reference lists
    description: Named value lists rules can reference.
  - name: Notification rules
    description: Slack and email notifications for alerts.
  - name: Reports
    description: Generated compliance reports.
paths:
  /api/v1/reference-lists/{entry_id}/:
    patch:
      tags:
        - Reference lists
      summary: Update an entry
      description: >-
        Changes an entry's label or expiry date — `expiresOn` is the last day
        rules count it, and null keeps it indefinitely. The value itself never
        changes; remove the entry and add the new value.
      operationId: reference_lists_partial_update
      parameters:
        - in: path
          name: entry_id
          schema:
            type: string
            format: uuid
            description: Primary key
          required: true
          description: Identifies the reference list entry.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedReferenceListEntryUpdate'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedReferenceListEntryUpdate'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedReferenceListEntryUpdate'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReferenceListEntryResponse'
          description: ''
      security:
        - ApiKeyAuth: []
components:
  schemas:
    PatchedReferenceListEntryUpdate:
      type: object
      properties:
        label:
          type: string
          nullable: true
          maxLength: 255
        expiresOn:
          type: string
          format: date
          nullable: true
          description: Last day the entry counts; null to keep it indefinitely
    ReferenceListEntryResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
          description: Primary key
        partnerId:
          type: integer
          readOnly: true
        listId:
          type: string
          format: uuid
          readOnly: true
        listName:
          type: string
          readOnly: true
          description: The list's name, mirrored from the list
        entityId:
          type: string
          nullable: true
          readOnly: true
        value:
          type: string
          readOnly: true
          description: Listed value, as entered
        normalizedValue:
          type: string
          readOnly: true
          description: The value in its list type's normalised form
        label:
          type: string
          readOnly: true
          nullable: true
          description: Optional human-readable label
        expiresOn:
          type: string
          format: date
          readOnly: true
          nullable: true
          description: Last day the entry counts; rules ignore it from the next day on
        isExpired:
          type: boolean
          readOnly: true
          description: Past its expiry, so no rule counts it
        synced:
          type: boolean
          readOnly: true
          description: >-
            Added by a sync from the list's source, and removed by one when the
            source drops it
        createdAt:
          type: string
          format: date-time
          readOnly: true
      required:
        - createdAt
        - entityId
        - expiresOn
        - id
        - isExpired
        - label
        - listId
        - listName
        - normalizedValue
        - partnerId
        - synced
        - value
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

## Related topics

- [Request Update (KYB)](https://documentation.idenfy.com/guides/dashboard/kyb/request-update-kyb.md)
- [Pre-Fill and Update](https://documentation.idenfy.com/kyb/pre-fill.md)
- [Update a reference list](https://documentation.idenfy.com/api-reference/transaction-monitoring/reference-lists/update-a-reference-list.md)
- [Create Monitoring](https://documentation.idenfy.com/aml/monitoring-create.md)
- [Remove an entry](https://documentation.idenfy.com/api-reference/transaction-monitoring/reference-lists/remove-an-entry.md)


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