Skip to main content

adminUserDelete

Permanently delete an administrative user from the system.

Removes the user account and all associated data from the system. This action cannot be undone and will revoke all system access for the specified user immediately.

A caller who is not platform staff only reaches users of their own tenants. When such a user also has access to other tenants, only their access to the caller's tenants is removed and the account is kept.

Possible errors:

  • ADMIN_USER_NOT_FOUND_ERROR: User with the specified email does not exist or is not visible to the caller
  • UNAUTHENTICATED: Invalid or missing authentication token
  • FORBIDDEN: Insufficient permissions to delete administrative users

AUTH: Role=[role.OWNER]

adminUserDelete(
email: String!
): Boolean!

Arguments​

adminUserDelete.email ● String! non-null scalar​

Email address of the administrative user to permanently delete from the system.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.