Docs/Admin API/Users/Purge

Hard delete a user

POST/admin/v1/users/{userId}:purge

Hard delete the specified user. The user must be marked for deletion before it can be purged.

path parameters

  • userId

    string

    Required

    The identifier of the user.

Returns

    curl https://api.userhub.com/admin/v1/users/usr_MKFxzgJaAH8JQ4:purge \
      -H "Authorization: Bearer $USERHUB_ADMIN_KEY" \
      -X POST
    Response bodyJSON
    {}
    PreviousRestore a user
    NextConnect external account

    Build software thatmonetizes
    $

    Subscribe to monthly product updates

    © 2025 UserHub

    Integrations

      UserHub & Auth0UserHub & Stripe BillingUserHub & Google CloudUserHub & FirebaseUserHub & custom auth