Delete Admin User
Deletes another admin user by id. The mutation returns a snapshot of the deleted record, so you can read back its _id, name, email, roleId, roleName, and status in the same response. The password and api_token values are never returned.
Delete guards
- Cannot delete yourself through this endpoint — the id must belong to a different admin. To remove your own account use Delete My Account.
- Cannot delete the last remaining admin.
A blocked delete returns the reason in the errors array and leaves the account intact.
Operation
| Operation | Type | Purpose |
|---|---|---|
deleteAdminSettingsUser(input:) | Mutation | Delete an admin user |
Notes
- The returned node is an in-memory snapshot of the just-deleted record — its scalar fields (
_id,name,email,roleId,roleName,status) still resolve so you can confirm what was removed. - Select
messagefor the success confirmation — it resolves to"Admin user deleted successfully."on a successful delete.messageisnullon read / list / create / update; a blocked delete returns a top-levelerrors[]entry instead. - Do not select the node's IRI
idfield on this mutation — the IRI cannot be generated for a deleted record and the field resolves with anerrors[]entry. Select_idinstead, as shown. - Use the
adminSettingsUsersquery to discover valid ids.
Overview
For field meanings and create/update rules, see the Users overview.
Requires the settings.users.users.delete permission and an admin Bearer token — see Authentication.

