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

# Remove a transaction split

> Removes the children and restores the parent transaction.



## OpenAPI

````yaml /openapi.yaml delete /api/v1/transactions/{transaction_id}/split
openapi: 3.0.3
info:
  title: Sure API
  version: v1
  description: OpenAPI documentation generated from executable request specs.
servers:
  - url: https://app.sure.am
    description: Production
  - url: http://localhost:3000
    description: Local development
security: []
paths:
  /api/v1/transactions/{transaction_id}/split:
    parameters:
      - name: transaction_id
        in: path
        description: Transaction ID. A split child resolves to its parent.
        required: true
        schema:
          type: string
    delete:
      tags:
        - Transactions
      summary: Remove a transaction split
      description: Removes the children and restores the parent transaction.
      responses:
        '204':
          description: split removed
        '404':
          description: transaction is not split
      security:
        - apiKeyAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      name: X-Api-Key
      in: header
      description: API key for authentication. Generate one from your account settings.

````

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