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

# Eliminar una entrada

> Usa este endpoint para eliminar (inactivar) una entrada Pix existente
asociada a una cuenta.


**Notas:**

- Esta operación realiza una eliminación lógica, cambiando el estado de
la entrada a INACTIVE en lugar de eliminarla físicamente del sistema.



## OpenAPI

````yaml es/openapi/v3-current/indirect-pix.yaml DELETE /v1/dict/entries/{entry_id}
openapi: 3.0.3
info:
  title: Plugin BR Pix Indirect - API completa
  description: |
    API completa para el sistema de pagos instantáneos Pix de Brasil, que
    incluye operaciones del diccionario de claves Pix, generación/decodificación
    de códigos QR, transacciones y límites transaccionales.
  version: 1.0.0
servers:
  - url: https://plugin-pix-indirect.api.lerian.net
security:
  - bearerAuth: []
paths:
  /v1/dict/entries/{entry_id}:
    delete:
      tags:
        - DICT API
      summary: Eliminar una entrada
      description: |-
        Usa este endpoint para eliminar (inactivar) una entrada Pix existente
        asociada a una cuenta.


        **Notas:**

        - Esta operación realiza una eliminación lógica, cambiando el estado de
        la entrada a INACTIVE en lugar de eliminarla físicamente del sistema.
      parameters:
        - $ref: '#/components/parameters/EntryId'
        - $ref: '#/components/parameters/XAccountId'
        - $ref: '#/components/parameters/XReasonDelete'
      responses:
        '204':
          description: Entrada eliminada correctamente.
          content:
            '*/*':
              schema:
                type: object
                properties: {}
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorFormat'
              examples:
                ErrorPIX0001:
                  $ref: '#/components/examples/ErrorPIX0001'
                ErrorPIX0002:
                  $ref: '#/components/examples/ErrorPIX0002'
                ErrorPIX0007:
                  $ref: '#/components/examples/ErrorPIX0007'
                ErrorPIX0008:
                  $ref: '#/components/examples/ErrorPIX0008'
        '404':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorFormat'
              examples:
                ErrorPIX0112:
                  $ref: '#/components/examples/ErrorPIX0112'
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorFormat'
              examples:
                ErrorPIX0165:
                  $ref: '#/components/examples/ErrorPIX0165'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorFormat'
              examples:
                ErrorPIX0000:
                  $ref: '#/components/examples/ErrorPIX0000'
                ErrorPIX0500:
                  $ref: '#/components/examples/ErrorPIX0500'
                ErrorPIX0599:
                  $ref: '#/components/examples/ErrorPIX0599'
        '502':
          description: Bad Gateway
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorFormat'
              examples:
                ErrorPIX1000:
                  $ref: '#/components/examples/ErrorPIX1000'
                ErrorPIX1007:
                  $ref: '#/components/examples/ErrorPIX1007'
                ErrorPIX1099:
                  $ref: '#/components/examples/ErrorPIX1099'
      deprecated: false
      security:
        - bearerAuth: []
components:
  parameters:
    EntryId:
      name: entry_id
      in: path
      description: Identificador único del registro Pix (formato UUID).
      required: true
      example: 019c96a0-0c0c-7221-8cf3-13313fb60081
      schema:
        type: string
    XAccountId:
      name: X-Account-Id
      in: header
      description: Identificador único de la cuenta del Ledger de Midaz (formato UUID).
      required: true
      example: 019c96a0-0a98-7287-9a31-786e0809c769
      schema:
        type: string
    XReasonDelete:
      name: X-Reason
      in: header
      description: >-
        Motivo de la eliminación: USER_REQUESTED, ACCOUNT_CLOSURE,
        BRANCH_TRANSFER, RECONCILIATION, FRAUD o RFB_VALIDATION.
      required: true
      example: USER_REQUESTED
      schema:
        type: string
        enum:
          - USER_REQUESTED
          - ACCOUNT_CLOSURE
          - BRANCH_TRANSFER
          - RECONCILIATION
          - FRAUD
          - RFB_VALIDATION
  schemas:
    ErrorFormat:
      type: object
      description: El mensaje de error de la respuesta.
      required:
        - code
        - title
        - message
      properties:
        code:
          type: string
          description: Un identificador único y estable para el error.
        title:
          type: string
          description: Un breve resumen del problema.
        message:
          type: string
          description: Orientación detallada para resolver el error.
  examples:
    ErrorPIX0001:
      summary: Missing Headers in Request
      value:
        code: PIX-0001
        title: Missing Headers in Request
        message: >-
          Your request is missing one or more required header params. Please
          refer to the documentation to ensure all necessary header params are
          included in your request.
    ErrorPIX0002:
      summary: Invalid Header Value
      value:
        code: PIX-0002
        title: Invalid Header Value
        message: >-
          One or more header values are invalid. Please refer to the
          documentation to verify the expected format and allowed values for
          each header.
    ErrorPIX0007:
      summary: Missing Path Parameters in Request
      value:
        code: PIX-0007
        title: Missing Path Parameters in Request
        message: >-
          Your request is missing one or more required path parameters. Please
          refer to the documentation to ensure all necessary path parameters are
          included in your request.
    ErrorPIX0008:
      summary: Invalid Path Parameter in Request
      value:
        code: PIX-0008
        title: Invalid Path Parameter in Request
        message: >-
          One or more path parameters are invalid. Please refer to the
          documentation to verify the expected format and allowed values for
          each path parameter.
    ErrorPIX0112:
      summary: Entry Not Found
      value:
        code: PIX-0112
        title: Entry Not Found
        message: The entry was not found.
    ErrorPIX0165:
      summary: Entry Inactive
      value:
        code: PIX-0165
        title: Entry Inactive
        message: The entry is not in active status.
    ErrorPIX0000:
      summary: Internal Server Error
      value:
        code: PIX-0000
        title: Internal Server Error
        message: The server encountered an unexpected error. Please try again later.
    ErrorPIX0500:
      summary: CRM Connection Error
      value:
        code: PIX-0500
        title: CRM Connection Error
        message: Failed to connect to CRM service.
    ErrorPIX0599:
      summary: CRM Bad Request
      value:
        code: PIX-0599
        title: CRM Bad Request
        message: CRM returned a bad request error.
    ErrorPIX1000:
      summary: Provider Connection Error
      value:
        code: PIX-1000
        title: Provider Connection Error
        message: Failed to connect to provider.
    ErrorPIX1007:
      summary: Provider Internal Error
      value:
        code: PIX-1007
        title: Provider Internal Error
        message: Provider returned an internal error.
    ErrorPIX1099:
      summary: Provider Unmapped Error
      value:
        code: PIX-1099
        title: Provider Unmapped Error
        message: Provider returned an unmapped error.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````