Geniffy Users API

The Users API from Geniffy — 1 operation(s) for users.

GitHub OpenAPI

Operations 1

DELETE /api/users/delete-account Delete User Account #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/geniffy-com:geniffy-com-users-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

geniffy-com-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Genify Backend Users API
  version: 0.1.0
tags:
- name: Users
paths:
  /api/users/delete-account:
    delete:
      tags:
      - Users
      summary: Delete User Account
      description: 'Permanently delete user account and ALL associated data.


        GDPR Article 17 "Right to Erasure" compliant.

        Covers: the Cognito sign-in account, PostgreSQL (all tables), S3, vectors and the memory service, and sends

        a confirmation email.


        Order of operations. Two things about it changed after this endpoint was found

        to be returning success while deleting no vectors at all:


        1. Capture user info (email, uid) before anything is deleted

        2. LOCK the sign-in account (disable + sign out everywhere). This is what the old

        step 2 was actually for — stopping a re-login mid-cleanup — and it does

        that without destroying the identity we may still need. Deleting the

        identity first meant a failed data step could never be retried and left

        no authenticated way back in.

        3. Erase vectors THROUGH THE REGISTRY (app/privacy/erasure.py), which

        deletes and then counts. The old step here imported app.second_brain, a

        package with zero tracked files, swallowed the ModuleNotFoundError, and

        never touched the collection the memory actually lives in.

        4. Delete all PostgreSQL data (100+ tables + user row)

        5. Delete S3 files (uploads, recordings)

        7. DELETE the sign-in account, last, once the data is gone

        9. Send confirmation email, log audit record

        10. Answer honestly. The response used to be a hardcoded {"success": True}

        sitting directly under a correctly-computed deletion_report["success"]

        that nothing read.


        Vectors are erased BEFORE Postgres on purpose: if the user row goes first and

        the vector purge then fails, the leftovers are orphaned with nothing left to

        tie them to. The uid is logged at ERROR level in that case so a purge can be

        re-run by hand.'
      operationId: delete_user_account_api_users_delete_account_delete
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
components:
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer