Delete Auth User
supabase.auth_delete_user
ActionDatabases & warehousesconnection required
Calls the Supabase API with the connection's credentials.
Delete an Auth user by id, either permanently or as a soft delete that obfuscates the record and keeps the row.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Supabase
- Secret shape
- the project API key, or {"api_key": "…"} / {"service_role_key": "…"}
- Config it needs
- base_url, schema
- Resolved by
- config.connection_id, else node.connection_id
Configuration
2 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
user_id The user's UUID, as it appears in auth.users.id. | string | Yes | — | — | fbdf5a53-161e-4460-98ad-0e39408d8689 |
should_soft_delete Obfuscate the user instead of removing the row, so foreign keys that reference it stay valid. | boolean | No | false | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"should_soft_delete": false,
"user_id": "fbdf5a53-161e-4460-98ad-0e39408d8689"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
user_id The user that was deleted. | string | — |
deleted True once the API accepted the delete. | boolean | — |
soft_deleted Whether the delete was a soft delete. | boolean | — |
{
"deleted": false,
"soft_deleted": false,
"user_id": ""
}Notes
- Requires the service-role key; an anon/publishable key gets 401 here.
See Delete Auth User run in a workflow.
In a technical demo we add the Supabase connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.