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

# Delete Settings (/financa5/settings)

> Toglie il modulo: config (password compresa), registro dei giri e collegamenti. 404 `plugin.not_installed`;
409 `financa5.run_in_progress` con un giro in corso. Audit `financa5.uninstall` con la config di prima OSCURATA e
quante righe sono state tolte.



## OpenAPI

````yaml https://api.vellaro.io/openapi/admin.json delete /api/v1/admin/financa5/settings
openapi: 3.1.0
info:
  title: Vellaro Admin API
  description: >-
    Store management under `/api/v1/admin`, for back ends and integrations.
    Every call takes `Authorization: Bearer <token>`: an admin API token or a
    staff user's token. The permissions of its role decide what it can do,
    always in its own store.
  version: 0.1.0
servers:
  - url: https://api.vellaro.io
    description: Produzione
security: []
tags:
  - name: Orders
    description: >-
      Orders and manual orders, payments, refunds, shipments, invoices, returns,
      customer subscriptions.
  - name: Products
    description: Products, variants, images, prices and discounts, product lookups.
  - name: Categories & catalog setup
    description: >-
      Categories, brands, attributes, options, filters, downloadable files,
      recurring profiles.
  - name: Inventory
    description: Stock of the variants and stock statuses.
  - name: Customers
    description: Customers, customer groups, custom fields.
  - name: Reviews & questions
    description: Moderation of product reviews and questions.
  - name: Promotions & coupons
    description: Coupons and gift vouchers.
  - name: Marketing
    description: Campaigns, newsletter subscribers, affiliates and their commissions.
  - name: Content
    description: >-
      CMS pages, menus, banners, information pages, flipbooks, media library,
      SEO URLs, email templates, translations.
  - name: Settings
    description: >-
      Store settings, email delivery, languages, currencies, physical stores,
      social login providers.
  - name: Shipping
    description: Couriers, shipping rates, weight and length classes.
  - name: Taxes & geo
    description: Tax classes, rates and rules; countries, zones and geo zones.
  - name: Integrations & modules
    description: >-
      Integrations, plugins and modules (Iute, extra warranty, Nextera, Financa
      5, WhatsApp, Firebase), outbound webhooks.
  - name: AI
    description: AI content generation and the settings of the AI shopping assistant.
  - name: Imports
    description: 'CSV imports and the universal import: runs, mappings, previews, undo.'
  - name: Reports & dashboard
    description: Dashboard figures and reports.
  - name: Users & API keys
    description: Staff users and roles, publishable keys, admin API tokens.
  - name: Audit
    description: The store's audit log.
paths:
  /api/v1/admin/financa5/settings:
    delete:
      tags:
        - Integrations & modules
      summary: Delete Settings (/financa5/settings)
      description: >-
        Toglie il modulo: config (password compresa), registro dei giri e
        collegamenti. 404 `plugin.not_installed`;

        409 `financa5.run_in_progress` con un giro in corso. Audit
        `financa5.uninstall` con la config di prima OSCURATA e

        quante righe sono state tolte.
      operationId: delete_settings_api_v1_admin_financa5_settings_delete
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse_Financa5SettingsOut_'
      security:
        - HTTPBearer: []
components:
  schemas:
    ApiResponse_Financa5SettingsOut_:
      properties:
        data:
          anyOf:
            - $ref: '#/components/schemas/Financa5SettingsOut'
            - type: 'null'
        meta:
          anyOf:
            - $ref: '#/components/schemas/PaginationMeta'
            - type: 'null'
        error:
          anyOf:
            - type: string
            - type: 'null'
          title: Error
        error_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Code
      type: object
      title: ApiResponse[Financa5SettingsOut]
    Financa5SettingsOut:
      properties:
        installed:
          type: boolean
          title: Installed
        enabled:
          type: boolean
          title: Enabled
        plugin_status:
          anyOf:
            - type: string
            - type: 'null'
          title: Plugin Status
        enabled_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Enabled At
        config:
          $ref: '#/components/schemas/Financa5ConfigView'
        connection:
          $ref: '#/components/schemas/Financa5ConnectionOut'
        status:
          $ref: '#/components/schemas/Financa5StatusOut'
      type: object
      required:
        - installed
        - enabled
        - plugin_status
        - enabled_at
        - config
        - connection
        - status
      title: Financa5SettingsOut
      description: GET / PUT / DELETE /admin/financa5/settings, POST /mode.
    PaginationMeta:
      properties:
        page:
          type: integer
          title: Page
        page_size:
          type: integer
          title: Page Size
        total:
          type: integer
          title: Total
        total_pages:
          type: integer
          title: Total Pages
      type: object
      required:
        - page
        - page_size
        - total
        - total_pages
      title: PaginationMeta
    Financa5ConfigView:
      properties:
        host:
          anyOf:
            - type: string
            - type: 'null'
          title: Host
        port:
          type: integer
          title: Port
        instance:
          anyOf:
            - type: string
            - type: 'null'
          title: Instance
        database:
          anyOf:
            - type: string
            - type: 'null'
          title: Database
        username:
          anyOf:
            - type: string
            - type: 'null'
          title: Username
        has_password:
          type: boolean
          title: Has Password
        warehouses:
          items:
            type: string
          type: array
          title: Warehouses
        sync_interval_minutes:
          type: integer
          enum:
            - 5
            - 10
            - 15
            - 30
            - 60
          title: Sync Interval Minutes
      type: object
      required:
        - host
        - port
        - instance
        - database
        - username
        - has_password
        - warehouses
        - sync_interval_minutes
      title: Financa5ConfigView
      description: >-
        La configurazione come la vede l'admin del negozio: la password solo
        come `has_password`.
    Financa5ConnectionOut:
      properties:
        checked_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Checked At
        ok_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Ok At
        result:
          anyOf:
            - type: string
              enum:
                - ok
                - failed
            - type: 'null'
          title: Result
        fresh:
          type: boolean
          title: Fresh
        server_version:
          anyOf:
            - type: string
            - type: 'null'
          title: Server Version
        engine_edition:
          anyOf:
            - type: integer
            - type: 'null'
          title: Engine Edition
        read_only:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Read Only
        view_counts:
          additionalProperties:
            type: integer
          type: object
          title: View Counts
        warehouses:
          items:
            $ref: '#/components/schemas/Financa5WarehouseOut'
          type: array
          title: Warehouses
      type: object
      required:
        - checked_at
        - ok_at
        - result
        - fresh
        - server_version
        - engine_edition
        - read_only
        - view_counts
        - warehouses
      title: Financa5ConnectionOut
      description: L'ultima prova connessione e i fatti letti (null = mai letti).
    Financa5StatusOut:
      properties:
        financa5_allowed:
          type: boolean
          title: Financa5 Allowed
        mode:
          type: string
          enum:
            - 'off'
            - read_only
            - active
          title: Mode
        read_only_blockers:
          items:
            type: string
          type: array
          title: Read Only Blockers
        active_blockers:
          items:
            type: string
          type: array
          title: Active Blockers
        driver_available:
          type: boolean
          title: Driver Available
        writes_available:
          type: boolean
          title: Writes Available
        last_preview:
          anyOf:
            - $ref: '#/components/schemas/Financa5PreviewState'
            - type: 'null'
        run_in_progress:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Run In Progress
        health:
          $ref: '#/components/schemas/Financa5HealthOut'
        brake:
          $ref: '#/components/schemas/Financa5BrakeOut'
      type: object
      required:
        - financa5_allowed
        - mode
        - read_only_blockers
        - active_blockers
        - driver_available
        - writes_available
        - last_preview
        - run_in_progress
        - health
        - brake
      title: Financa5StatusOut
    Financa5WarehouseOut:
      properties:
        code:
          type: string
          title: Code
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        active:
          type: boolean
          title: Active
        selected:
          type: boolean
          title: Selected
      type: object
      required:
        - code
        - name
        - active
        - selected
      title: Financa5WarehouseOut
    Financa5PreviewState:
      properties:
        run:
          $ref: '#/components/schemas/Financa5RunOut'
        fresh:
          type: boolean
          title: Fresh
      type: object
      required:
        - run
        - fresh
      title: Financa5PreviewState
      description: 'L''ultima anteprima riuscita: quella che conta per «attivo» (R1).'
    Financa5HealthOut:
      properties:
        health:
          type: string
          enum:
            - 'off'
            - never
            - running
            - stuck
            - ok
            - held
            - failing
            - overdue
          title: Health
        failures_in_row:
          type: integer
          title: Failures In Row
        failing_since:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Failing Since
        last_error_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Error Code
        alert_open:
          type: boolean
          title: Alert Open
        last_run:
          anyOf:
            - $ref: '#/components/schemas/Financa5RunOut'
            - type: 'null'
        last_ok_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Last Ok At
        held_run_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Held Run Id
      type: object
      required:
        - health
        - failures_in_row
        - failing_since
        - last_error_code
        - alert_open
        - last_run
        - last_ok_at
        - held_run_id
      title: Financa5HealthOut
      description: >-
        La salute dei giri veri (`alerts.health`), per il banner dell'admin e la
        pagina del modulo.


        `health`: `off` (spento o senza permesso), `never` (acceso, nessun giro
        vero ancora), `running`, `stuck` (in

        corso da oltre 15 minuti), `ok`, `held` (un giro trattenuto aspetta lo
        staff: `held_run_id`), `failing` (l'ultimo

        giro vero è fallito: `failures_in_row`, `last_error_code`; l'email parte
        al terzo), `overdue` (il giro periodico

        non parte da tre intervalli).
    Financa5BrakeOut:
      properties:
        codes_min_share:
          type: string
          title: Codes Min Share
        zero_max_share:
          type: string
          title: Zero Max Share
        custom:
          type: boolean
          title: Custom
      type: object
      required:
        - codes_min_share
        - zero_max_share
        - custom
      title: Financa5BrakeOut
      description: >-
        Le soglie del freno del negozio (§5.5): quelle del codice, o dell'hub
        (`feature_flags.financa5_brake`).
    Financa5RunOut:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        mode:
          type: string
          enum:
            - preview
            - read_only
            - active
          title: Mode
        trigger:
          type: string
          enum:
            - manual
            - schedule
          title: Trigger
        status:
          type: string
          enum:
            - running
            - ok
            - error
            - held
            - discarded
          title: Status
        counts:
          additionalProperties: true
          type: object
          title: Counts
        error_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Code
        error_detail:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Detail
        created_by:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Created By
        started_at:
          type: string
          format: date-time
          title: Started At
        finished_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Finished At
        matches_config:
          type: boolean
          title: Matches Config
      type: object
      required:
        - id
        - mode
        - trigger
        - status
        - counts
        - error_code
        - error_detail
        - created_by
        - started_at
        - finished_at
        - matches_config
      title: Financa5RunOut
      description: >-
        Un giro: un'anteprima (`mode = preview`) o un giro vero di R1
        (`read_only`, `active`; `trigger` `schedule` per

        il beat, `manual` per «Sincronizza ora»).
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

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