Skip to content

Create Admin User

Creates a new admin user. name, email, password, and roleId are required; status defaults to active (1). The password is required at create time and is stored hashed — it is never returned.

Prerequisites

roleId must reference an existing role. Use the adminSettingsRoles query to discover valid role ids.

Operation

OperationTypePurpose
createAdminSettingsUser(input:)MutationCreate an admin user

Overview

For field meanings and the delete guards, see the Users overview.

Requires the settings.users.users.create permission and an admin Bearer token — see Authentication.

Released under the MIT License.