Identity__create User
This mutation is used to create a new user. This is a system admin only mutation. { permissions: ['*', 'create'], collectionName: 'identity__User', } Platform admin only. Needs the `identity__User` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).
identity__createUser(input: CreateUserByAdminInput!): CreateUserFromAdminResponse!This mutation is used to create a new user. This is a system admin only mutation. { permissions: ['*', 'create'], collectionName: 'identity__User', } Platform admin only. Needs the identity__User create permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
input*Returns
- identity__createUser
_id*ID!temporaryPassword?Stringmutation Identity__createUser($input: CreateUserByAdminInput!) { identity__createUser(input: $input) { _id temporaryPassword }}{ "input": { "email": "string", "name": "string", "roles": [ "string" ], "userDomain": "CUSTOMER" }}{ "data": { "identity__createUser": { "_id": "1", "temporaryPassword": "string" } }}Identity__create Tenant MUTATION
Platform admin only.
Identity__create Vendor MUTATION
Creates a new vendor/supplier for the tenant. Optionally set a password for vendor portal access. Requires a signed-in staff user. Needs the `identity__Vendor` `create` permission. Send the `x-tenant` header (the gateway sets it from your API key).