Skip to main content

setTemporaryPassword

Generates and sets a temporary password for the user. Returns the generated temporary password. The user will be required to change it on next login.

Requires authorization features: admin:operations

setTemporaryPassword(
input: SetTemporaryPasswordInput!
): String!

Directives​

auth​

Requires authorization features: admin:operations

Arguments​

setTemporaryPassword.input ● SetTemporaryPasswordInput! non-null input​

Type​

String scalar​

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.