deactivateUser method
ResponseFuture<DeactivateUserResponse>
deactivateUser(
- DeactivateUserRequest request, {
- CallOptions? options,
Deactivate a user
Deactivate an existing user and change the state 'deactivated'. The user will not be able to log in anymore. Use deactivate user when the user should not be able to use the account anymore, but you still need access to the user data.
The endpoint returns an error if the user is already in the state 'deactivated'.
Implementation
$grpc.ResponseFuture<$0.DeactivateUserResponse> deactivateUser(
$0.DeactivateUserRequest request, {
$grpc.CallOptions? options,
}) {
return $createUnaryCall(_$deactivateUser, request, options: options);
}