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

# Revert migration

> Revert all customers migration that don't have new transactions



## OpenAPI

````yaml DELETE /customers/migrate/revert
openapi: 3.0.1
info:
  title: Fire spark Admin API
  description: Back-office and merchant operations endpoints for Fire spark.
  version: 1.0.0
servers:
  - url: https://firespark.cloud/api/admin/v1
security:
  - bearerAuth: []
paths:
  /customers/migrate/revert:
    delete:
      summary: Revert migration
      description: Revert all customers migration that don't have new transactions
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
                - start_date
                - end_date
              properties:
                start_date:
                  type: string
                  format: date-time
                  description: The start date to filter customers
                end_date:
                  type: string
                  format: date-time
                  description: The end date to filter customers
      responses:
        '200':
          description: Customer migration reverted
        '404':
          description: Customer not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      required:
        - error
        - details
      type: object
      properties:
        error:
          type: string
        details:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````