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