Core GraphQL APIReferenceMutations
Identity__add User To Current Tenant
Requires a signed-in staff user. Needs the `identity__User` `update` permission. Send the `x-tenant` header (the gateway sets it from your API key).
MUTATION
identity__addUserToCurrentTenant(input: AddUserToTenantInput!): AddUserToTenantResponse!Requires a signed-in staff user. Needs the identity__User update permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
input*Returns
- identity__addUserToCurrentTenant
success*Boolean!temporaryPassword?StringExample Request
mutation Identity__addUserToCurrentTenant($input: AddUserToTenantInput!) { identity__addUserToCurrentTenant(input: $input) { success temporaryPassword }}{ "input": { "email": "string", "roles": [ "string" ] }}{ "data": { "identity__addUserToCurrentTenant": { "success": true, "temporaryPassword": "string" } }}