> ## Documentation Index
> Fetch the complete documentation index at: https://sure-917046f5-mintlify-docs-update-1787435561773.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Reset account

> Resets all financial data (accounts, categories, merchants, tags, etc.) for the current user's family while keeping the user account intact. The reset runs asynchronously in the background. The returned job_id is informational only; reset status is family-scoped, not job-scoped. Requires admin role.



## OpenAPI

````yaml /openapi.yaml delete /api/v1/users/reset
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/users/reset:
    delete:
      tags:
        - Users
      summary: Reset account
      description: >-
        Resets all financial data (accounts, categories, merchants, tags, etc.)
        for the current user's family while keeping the user account intact. The
        reset runs asynchronously in the background. The returned job_id is
        informational only; reset status is family-scoped, not job-scoped.
        Requires admin role.
      responses:
        '200':
          description: account reset initiated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResetInitiatedResponse'
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: forbidden - requires read_write scope and admin role
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: reset enqueue failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - apiKeyAuth: []
components:
  schemas:
    ResetInitiatedResponse:
      type: object
      required:
        - message
        - status
        - job_id
        - family_id
        - status_url
      properties:
        message:
          type: string
        status:
          type: string
          enum:
            - queued
        job_id:
          type: string
          description: >-
            Informational Active Job identifier returned by the queue adapter;
            reset status is family-scoped, not job-scoped.
        family_id:
          type: string
          format: uuid
          description: UUID of the family being reset.
        status_url:
          type: string
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
        message:
          type: string
          nullable: true
        details:
          oneOf:
            - type: array
              items:
                type: string
            - type: object
          nullable: true
        errors:
          type: array
          items:
            type: string
          nullable: true
          description: >-
            Validation error messages (alternative to details used by trades,
            valuations, etc.)
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      name: X-Api-Key
      in: header
      description: API key for authentication. Generate one from your account settings.

````