public function deactivateUser(string $employeeId)
    {
        $result = $this->deactivateUserInternal([
            'employee_id' => $employeeId,
            'active' => 'no',
        ]);
        $statusCode = (int)$result[ 'statusCode' ];
        
        if ($statusCode !== 200) {
            $this->reportUnexpectedResponse($result, 1490808523);
        }
    }
public function deactivateUser(string $employeeId)
    {
        $result = $this->deactivateUserInternal([
            'employee_id' => $employeeId,
            'active' => 'no',
        ]);
        $statusCode = (int)$result[ 'statusCode' ];
        
        if ($statusCode !== 200) {
            $this->reportUnexpectedResponse($result, 1490808523);
        }
    }
public function deactivateUser ( string $ employeeId ) { $ result = $ this -> deactivateUserInternal ( [ 'employee_id' => $ employeeId , 'active' => 'no' , ] ) ; $ statusCode = ( int ) $ result [ 'statusCode' ] ; if ( $ statusCode !== 200 ) { $ this -> reportUnexpectedResponse ( $ result , 1490808523 ) ; } }
Deactivate a user.

@param string $employeeId The Employee ID of the user to deactivate.
@throws ServiceException
Deactivate a user .