Core GraphQL APIReferenceMutations
Identity__send User Credentials
System-admin only. Resets the user's password to a one-time one and emails it; the user must choose a new password on next sign-in. Platform admin only. Needs the `identity__User` `update` permission. Send the `x-tenant` header (the gateway sets it from your API key).
MUTATION
identity__sendUserCredentials(where: CommonFindDocumentDto!): SendUserCredentialsResponse!System-admin only. Resets the user's password to a one-time one and emails it; the user must choose a new password on next sign-in. Platform admin only. Needs the identity__User update permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
where*Returns
- identity__sendUserCredentials
success*Boolean!temporaryPassword*String!Example Request
mutation Identity__sendUserCredentials($where: CommonFindDocumentDto!) { identity__sendUserCredentials(where: $where) { success temporaryPassword }}{ "where": { "and": [ { "and": [ { "and": [ { "and": [ {} ], "key": "string" } ], "key": "string" } ], "key": "string" } ], "key": "string" }}{ "data": { "identity__sendUserCredentials": { "success": true, "temporaryPassword": "string" } }}