Apps

Remove a user from an app

The person can no longer sign in; open sessions stop within seconds. Without another app in the project their email address and name are deleted too. With delete_data=true everything of this person in the app goes as well (like DELETE /apps/{id}/users/{userId}/data); ask the owner of the app which they want.

delete/apps/{id}/users/{userId}

Request

  • Base URL: https://api.hypamoon.com/api/v1
  • URL: https://api.hypamoon.com/api/v1/apps/{id}/users/{userId}
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://app.hypamoon.com/oauth/authorize, token URL https://api.hypamoon.com/oauth/token, scopes: sites:write)

Path parameters

idstring uuid required

The id of the app.

userIdstring uuid required

The id of the user (sub in x-hypamoon-user).

Query parameters

delete_databoolean

Also delete their rows in per-user tables, their files and their passkeys. Without it, their data stays.

Response

Removed, with delete_data=true: what was deleted.

app_idstring uuid required
user_idstring uuid required
app_tables'included' | 'not_included' | 'no_database' required

included: the per-user tables (set_table_owner_column) were handled; unmarked_tables may still hold data. not_included: the app has no per-user tables, so no row of the app's own database was exported or deleted; check those tables yourself. no_database: the app has no database.

unmarked_tablesstring[] required

Tables that are not marked per-user: Hypamoon cannot tell which rows there belong to this user, so they may still hold data about them.

notestring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.